On Thu, Apr 15, 2004 at 10:30:13PM +0300, Ground Zero wrote:
> Daca fac asa ceva in linia de comanda:
>
> foo|bar
>
> ...aveti vreo idee cum sa obtin exit codul lui foo?i
[EMAIL PROTECTED]:~$ exit 42 | echo -e 'a\nb' | while read foo; do echo -n "$foo ";
done; echo ${PIPESTATUS[0]}
a b 42
--
George Cristian Birzan gcbirzan (at) wolfheart (dot) ro
I'm tired of all this nonsense about beauty being only skin-deep. That's
deep enough. What do you want, an adorable pancreas?
-- Jean Kerr
-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAfvIuaqNK6cml/6cRAkjLAJ0bZVPBLh/h3/6blkZeFv7/7EfrpACfWWaH
fpK4DBVweMY20xbw8vd7puw=
=ay4N
-----END PGP SIGNATURE-----
---
Detalii despre listele noastre de mail: http://www.lug.ro/