Re: ksh script, exit status and pipe
From: Stephane CHAZELAS (this.address_at_is.invalid)
Date: 08/25/04
- Previous message: Ian Wilson: "ksh script, exit status and pipe"
- In reply to: Ian Wilson: "ksh script, exit status and pipe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Aug 2004 12:49:53 GMT
2004-08-25, 11:00(+00), Ian Wilson:
> I want to execute a command, redirect stderr and tee stdout
> e.g.
> tar ... 2>foo.err | tee foo.log
>
> however I also want to capture the exit status of the first command
[...]
See question 13 of the comp.unix.shell FAQ:
http://home.comcast.net/~j.p.h/cus-faq.html#M
-- Stephane
- Previous message: Ian Wilson: "ksh script, exit status and pipe"
- In reply to: Ian Wilson: "ksh script, exit status and pipe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|