Subject: Re: script command
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
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 ...]]
>
> deprectated:
> 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
--
David Laight: david@l8s.co.uk