
15 Dec
2011
15 Dec
'11
5:55 p.m.
On Thu, Dec 15, 2011 at 09:48, Peter Wortmann
path portably from C [1]. Using argv[0] just gave me the path of the GHC wrapper script, for example - as it uses exec without "-a".
Note that "exec -a" is a bash-ism and not portable to POSIX shells (ash on *BSD, dash on Debian/Ubuntu, etc.) or traditional /bin/sh as still shipped with some commercial Unixes. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms