Subject: Re: script command
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 05/01/2003 14:53:13
[ On Thursday, May 1, 2003 at 17:45:01 (+0100), David Laight wrote: ]
> Subject: Re: script command
>
> > 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

Yeah, well I'm sure you get the idea....  :-)

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>