Alfred M. Szmidt wrote: > Also, /usr/bin/env is a very non-standard place for env; it is usually > located in /bin.
On what systems is env located in /bin/env? The normal location is in /usr/bin/env. I checked HP-UX, AIX, Solaris, FreeBSD, and various GNU/Linux systems. All had /usr/bin/env. This is counted upon by many scripts using /usr/bin/env as a launcher. I would have said it was a standard but upon a quick search I could not find a reference. > Some systems can be quite smart though, and things like: > > #! awk > > work. But alas, I only know of one system that does it this way, the > GNU system. Yes, that will be nice. But all of the problems with #! is why it is well known as the "Berkeley hack". Too useful to be without. To ill defined to be really portable. Bob _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
