Skip to main content
7 events
when toggle format what by license comment
Aug 11, 2014 at 9:58 vote accept MLu
Aug 11, 2014 at 6:46 answer added Stéphane Chazelas timeline score: 6
Aug 11, 2014 at 6:31 comment added MLu @MichaelHomer - eval doesn't only substitute the variables but also immediately executes the command. That's not what I want - I want the expanded vars assigned to a new variable first. That's a requirement for logging and auditing... I'm sure it should be doable...?
Aug 11, 2014 at 6:29 comment added MLu @Warwick - the template is in a header of the file together with other settings. I don't want a hardcoded setting way down buried in the script where it is actually used.
Aug 11, 2014 at 6:23 comment added Warwick Why does CMD_TMPL need to be declared prior to $USER_NAME and $USER_HOME?
Aug 11, 2014 at 6:22 comment added Michael Homer You say you've tried eval already. Did eval "$CMD_TMPL" not work? What went wrong with it?
Aug 11, 2014 at 6:18 history asked MLu CC BY-SA 3.0