[LUNI] rm help
Keith T. Garner
kgarner at kgarner.com
Tue Jun 17 14:18:36 CDT 2003
On Mon, Jun 16, 2003 at 06:09:40, Ronald Petty said:
> I might be wrong but I thought args going into a program through the
> command line as arguments was the same thing as stdin.
You are wrong.
> I know there is stdin/stdout/stderr but maybe the shell intercepts
> the args and does something I don't know about.
Stuff on the command line after the program name has nothing to do
with any of the std file descriptors.
In C, they are passed to your main method as a array of arguments and
an integer with the number of arguments. Most other programming
languages do something similar.
> Anyone have an answer, in the mean time I will google on it :)
Read anything from any language on command line arguments.
Keith
--
Keith T. Garner kgarner at kgarner.com
The whole problem with the world is that fools and fanatics are always so
certain of themselves, and wiser people so full of doubts. --Bertrand Russell
More information about the luni
mailing list