Aucbvax.5199
fa.unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Sun Nov 15 23:01:47 1981

>From mhtsa!chico!learned!nrh@Berkeley Sun Nov 15 22:16:13 1981
What's all this fuss about putting the un-globbed command into argv[-1] or
some such?

I believe somebody has already suggested that the un-globbed command
might be passed as an element of the shell's environment.

Anything wrong with that approach?  I think it's very ugly to
write code that would use this: after all, the user would never
be able to tell just what he was telling the program (because if
he used glob characters, they wouldn't necessarily expand), and
this is bound to cause trouble.  But if you really must
try to make unix look like TENEX or some such, at least don't
muck with argc and argv.

                                       - Nat Howard

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.