Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
exit value of intermediate program in pipe
- X-seq: zsh-users 1496
- From: talley@xxxxxxxxxxxxxxxxxxxxxxx (Steve Talley)
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: exit value of intermediate program in pipe
- Date: Sat, 2 May 1998 16:24:40 -0600
I have a function foo:
foo () {
/bin/blah | grep -v "foo"
}
I would like this function to exit with the exit value from the
/bin/blah process, but it exits with the exit value from grep instead.
Is there any way to do this?
Steve
Messages sorted by:
Reverse Date,
Date,
Thread,
Author