Subject: Re: script command
To: David Laight <firstname.lastname@example.org>
From: Greywolf <email@example.com>
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> sh -c [-aCefnuvxIimqVEb] [+aCefnuvxIimqVEb] [-o option_name]
DL> [+o option_name] command_string [command_name [argument ...]]
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> 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.
NetBSD: The cure for the common OS.