argv argc

utzoo!decvax!ucbvax!unix-wizards utzoo!decvax!ucbvax!unix-wizards
Sun Nov 15 23:02:29 AEST 1981


>From HOLSTEGE at CIT-20 Sun Nov 15 22:07:58 1981
The idea is that the program decides whether it needs a look at the
raw command line, the user need not know or care. If you've used find(1)
much you will understand what a pain escapes are. Putting a "set nointerp"
in the shell requires the user to switch back and forth between modes
when the program he is running is what should be doing it. It seems to
me that the "general UNIX philosophy" includes the ability to do
everything that you would want to somehow, however getting the raw
command line isn't possible.  If you don't like argv[-1], then 
the only alternative I can think of is for the shell to set an
environmental variable COMLINE or something. Besides, only ps
and its ilk require no argv[-1] and they could easily be changed.
-------



More information about the Comp.unix.wizards mailing list