Subject: Re: script command
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: David Laight <firstname.lastname@example.org>
Date: 05/01/2003 17:45:01
> If you do that then hopefully you can fix their parameter syntax botch
> so that the "bug" they mention about the "command" feature goes away.
> I'm thinking the synopsis should be:
> script [-a] [-k] [-q] [-t time] [-o file] [-c command [args ...]]
> script [-a] file
> I.e. the new feature should work like "sh -c", and thus "su -c" et al,
> and that anyone wanting to use the new feature must use the new syntax.
Erm sh -c doesn't (and shouldn't) work that way.
sh -c -x command -y
is the same as:
sh -x -c command -y
David Laight: email@example.com