Re: Stupid shebang tricks & env -
* 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).
--
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
Create a system that is usable even by idiots, and only idiots will use it.
Reply to: