Subject: Re: ksh vs. bash vs. zsh
To: None <netbsd-users@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: netbsd-users
Date: 12/05/2006 15:37:30
--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Aleksey Cheusov <cheusov@tut.by> wrote:
=20
> More global question is why there is _easy_ way to obtain
> pipe status in standard /bin/sh but this is offtop here I thinks :(

Search for "comp.unix.shell FAQ pipestatus".  There's a function in
there that provides you with the equivalent of bash's PIPESTATUS.  It
ain't pretty, though...

-Jan

--=20
"Life," said Marvin dolefully, "loathe it or ignore it, you can't like it."

--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFdgK6fFtkr68iakwRAp+iAKCDIVMjm4vA5s2eMAsn6jk5YEhx6wCg5l12
uyOFvleiwm7XmNhdmTt5Oik=
=Affc
-----END PGP SIGNATURE-----

--opJtzjQTFsWo+cga--