|
From: | Neil R. Ormos |
Subject: | Re: no exit status available when a command doesn't exist or fails in pipe to grep |
Date: | Mon, 6 Sep 2021 13:42:05 -0500 (CDT) |
Ed Morton wrote: > Neil R. Ormos wrote: >> ED MORTON wrote: >>> I was just trying to write a function that would >>> do the same for awk that command substitution >>> [...] run some command [...] >>> but I need to know the exit status if the >>> pipeline failed [...] >> Use the value returned by close(). > I know this is a gawk mailing list but I don't > suppose you know of a POSIX equivalent? I do not.
[Prev in Thread] | Current Thread | [Next in Thread] |