Date: Sun, 1 Oct 1995 17:15:06 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: taob@io.org (Brian Tao) Cc: terry@lambert.org, kaleb@x.org, hackers@freefall.freebsd.org Subject: Re: /bin/sh thinks it's csh Message-ID: <199510020015.RAA20655@phaeton.artisoft.com> In-Reply-To: <Pine.BSI.3.91.951001162527.19034X-100000@trepan.io.org> from "Brian Tao" at Oct 1, 95 04:27:01 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> So argv[0] is the name of the command ("echo") and argv[1] (or $1) > is the first argument, which is "foo". Why is it proper for POSIX sh > to return the second argument, "bar"? Is "foo" considered the command > name in the above case? echo is a builtin. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510020015.RAA20655>