Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Hans Hagen
On 4/26/2013 5:34 PM, Cecil Westerhof wrote: I am using a command line parameter to change the generated output. Is it also possible to set the output file name depending on the parameter? --result=somename -

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Cecil Westerhof
2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 5:34 PM, Cecil Westerhof wrote: I am using a command line parameter to change the generated output. Is it also possible to set the output file name depending on the parameter? --result=somename That is on the command line. Then you need to

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Hans Hagen
On 4/26/2013 6:50 PM, Cecil Westerhof wrote: 2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 5:34 PM, Cecil Westerhof wrote: I am using a command line parameter to change the generated output. Is it also possible to set the output file name depending on the parameter? --result=somename

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Cecil Westerhof
2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 6:50 PM, Cecil Westerhof wrote: 2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 5:34 PM, Cecil Westerhof wrote: I am using a command line parameter to change the generated output. Is it also possible to set the output file name depending

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Hans Hagen
On 4/26/2013 7:01 PM, Cecil Westerhof wrote: 2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 6:50 PM, Cecil Westerhof wrote: 2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 5:34 PM, Cecil Westerhof wrote: I am using a command line parameter to change the generated output. Is it also

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Cecil Westerhof
2013/4/26 Cecil Westerhof cldwester...@gmail.com: 2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 7:01 PM, Cecil Westerhof wrote: 2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 6:50 PM, Cecil Westerhof wrote: 2013/4/26 Hans Hagen pra...@wxs.nl: On 4/26/2013 5:34 PM, Cecil Westerhof

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Cecil Westerhof
2013/4/26 Cecil Westerhof cldwester...@gmail.com: The following script does what I want: #!/usr/bin/env bash set -o errexit set -o nounset declare -r DEFAULT=cecil declare -r DIR=${HOME}/Documenten/CV declare -r FILE=CV-Cecil-Westerhof declare -r

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Peter Münster
On Fri, Apr 26 2013, Cecil Westerhof wrote: The following script does what I want: Or shorter: --8---cut here---start-8--- #!/usr/bin/env bash context --result=cv-${1:-cecil} CV-Cecil-Westerhof --8---cut here---end---8---

Re: [NTG-context] Is it possible to set the output file name in the script

2013-04-26 Thread Cecil Westerhof
2013/4/26 Peter Münster pmli...@free.fr: On Fri, Apr 26 2013, Cecil Westerhof wrote: The following script does what I want: Or shorter: --8---cut here---start-8--- #!/usr/bin/env bash context --result=cv-${1:-cecil} CV-Cecil-Westerhof