bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: env (GNU coreutils) 5.93 patch


From: Alfred M\. Szmidt
Subject: Re: env (GNU coreutils) 5.93 patch
Date: Fri, 30 Dec 2005 20:39:18 +0100

   [The bug-sh-utils list is obsolete, use bug-coreutils instead]

Would it be possible to make everything that goes to
bug-{text,sh,files}-utils end up in bug-coreutils?  Or maybe it
already does...

   When using /usr/bin/env as the interpreter in a #! line, you must
   be sure that there is only one more word on the line, which means
   that you cannot use env to invoke another program while still
   providing arguments to that program.

Also, /usr/bin/env is a very non-standard place for env; it is usually
located in /bin.  The best way to figureout where a program is, is to
simply use a bit of sed magic, and have it output a new file which has
the correct name of the program; and install that in whatever
directory one keeps hacks in.

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]