Re: OT: sed + exit status

2009-02-17 Thread Bertram Scharpf
Hi, Am Samstag, 14. Feb 2009, 08:53:42 -0500 schrieb Robert Huff: > According to the man page: > > EXIT STATUS > The sed utility exits 0 on success, and >0 if an error occurs. > > > However, what constitutes "success" is undefined. A short peek at the source code reveals: An exit code of

Re: OT: sed + exit status

2009-02-15 Thread Mike Jeays
On February 15, 2009 01:26:27 am Dimitar Vasilev wrote: > >. Is sed "successful" is there are no instances of FOO? Or > > only if there is at least one instance of FOO and it is successfully > > replaced by bar? > > > >Respectfully, > > > > > >

Re: OT: sed + exit status

2009-02-14 Thread Dimitar Vasilev
> > >. Is sed "successful" is there are no instances of FOO? Or > only if there is at least one instance of FOO and it is successfully > replaced by bar? > >Respectfully, > > >Robert Huff > > ___ >