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 > --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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________