Subject: Re: script command
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 05/01/2003 21:13:57
> >sh -c "command args" will look for a file command\ args, not execute
> >command with args.
>
> That's incorrect. POSIX specifies that <command_string> "shall be
> interpreted ... as if the string were the argument to the system()
> function". Thus, it's a little shell script in its own right.
Yes - I got that one wrong :-(
The netbsd /bin/sh does behave correctly though...
David
--
David Laight: david@l8s.co.uk