Re: How to echo the return value of a program

2011-01-22 Thread Christopher Roy Bratusek
On Saturday 22 January 2011 09:29:11 ali hagigat wrote: > I want to print the return value of an executable like: > make -q -f makefile22 > The above command returns non-zero if the targets are not up to date. > How can i see that value by shell commands. I am using /bin/bash, > Fedora gnome-termin

How to echo the return value of a program

2011-01-22 Thread ali hagigat
I want to print the return value of an executable like: make -q -f makefile22 The above command returns non-zero if the targets are not up to date. How can i see that value by shell commands. I am using /bin/bash, Fedora gnome-terminal.