On Thursday 12 May 2005 20:18, Adeodato Simó wrote: > * martin f krafft [Fri, 13 May 2005 04:10:48 +0200]: > > also sprach Adeodato Simó <asp16@alu.ua.es> [2005.05.13.0338 +0200]: > > > -------->8 /usr/bin/smartenv 8<------------- > > > #! /bin/sh > > > > > > sh -c "$*" > > > -------------------------------------------- > > > > #!/bin/sh > > exec $* > > Uhm, nice (one fork less), but then you can "quote arguments" (and > "$*" won't help here). But "$@" will. -- Wesley J. Landaker <wjl@icecavern.net> OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2
Attachment:
pgph18gVEuEh7.pgp
Description: PGP signature