how can i pipe one command to another and get the return value from the
first

e.g.
make | tee log ; x=$?

x holds the return value of 'tee'
however i want the return value of 'make'


any idea ?
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to