Skip to main content
8 events
when toggle format what by license comment
Dec 1, 2014 at 17:19 comment added muru @glennjackman I was looking up the quoting rules for command substitution, if that's the correct way, thanks.
Dec 1, 2014 at 17:18 comment added glenn jackman You should still use double quotes within "$( ... "$var" ...)" -- the command substitution spawns a subshell so the "inner" quotes do not clash with the "outer" ones
Dec 1, 2014 at 17:18 history edited glenn jackman CC BY-SA 3.0
added 2 characters in body
Dec 1, 2014 at 17:08 history edited muru CC BY-SA 3.0
deleted 2 characters in body
Dec 1, 2014 at 17:08 comment added muru @Beginner Indeed. My mistake, I think I confused the quoting.
Dec 1, 2014 at 17:05 comment added Beginner thanks! this works if I removoe the ' ' around $FILE in the date function.
Dec 1, 2014 at 16:58 vote accept Beginner
Dec 1, 2014 at 16:51 history answered muru CC BY-SA 3.0