2013/4/26 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---
Nope, when the parameter is cecil, I want to add nothing. Also I am a little paranoid, so I want the script to not execute when there are to many parameters.
There is only one problem. If I first generate the default one and after that a specific one, the default one does not exist anymore.
A known bug: http://www.ntg.nl/pipermail/ntg-context/2008/035125.html
You could add it to the tracker: http://tracker.luatex.org/
I already went around it. But it would not hurt to report it. -- Cecil Westerhof