Subject: Re: script command
To: David Laight <david@l8s.co.uk>
From: Greywolf <greywolf@starwolf.com>
List: tech-userlevel
Date: 05/01/2003 12:23:32
Thus spake David Laight ("DL> ") sometime Today...

DL> Indeed our shell does obey posix (since I fixed it a few months ago).
DL> The synopsis has:
DL>
DL>      sh -c [-aCefnuvxIimqVEb] [+aCefnuvxIimqVEb] [-o option_name]
DL> 	[+o option_name] command_string [command_name [argument ...]]
DL>
DL> sh -c "command args" will look for a file command\ args, not execute
DL> command with args

When did POS-ix change this?

DL> > By comparison with Solaris, our sh is broken, btw:  Solaris behaves
DL> > as expected.
DL>
DL> in what way do you mean 'expected' ?

Historically, sh -c "command args" has been required.  For it to have changed
is most unexpected, but this is to be expected from POS-ix.

				--*greywolf;
--
NetBSD: The cure for the common OS.