>> What's the standard "#! " way to get a script running on both? ln -s >> /usr/bin/<prg> /bin/<prg> in Debian (and vice versa in other systems)? >> (please cc me)
For Perl, the Camel book has something like this: | eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $ | argv:q' | if 0; | | # The above lines allows us to find perl along $PATH rather than | # guessing a fixed location. The above construction should work | # with most shells. Should also work with awk after a little tweaking. Cheers, Colin -- Colin Marquardt <[EMAIL PROTECTED]>