graysky2 / anything-sync-daemon

Symlinks and syncs user specified dirs to RAM thus reducing HDD/SDD calls and speeding-up the system.
https://wiki.archlinux.org/index.php/Anything-sync-daemon
MIT License
345 stars 45 forks source link

allow lines starting with double-quotes variables #40

Closed lejenome closed 8 years ago

lejenome commented 8 years ago

allow double-quotes vars, and allow trailing spaces before array items, ) and comments:

WHATTOSYNC=(
            "/dir1"
            # 'dir2'
            '/dir3'
            )
graysky2 commented 8 years ago

Good idea, thank you.