Hello World,

Is there a way by which I can get the exit(number), this `number' in a shell
script ? Say, I do an abort by exit(32). How do I get this 32 outside the
script ?

Also, how do I read in a file using a shell script ? Doing a `read var < $file'
does not help. 'cause it breaks off at the first newline character, i.e. var
contains only the first line of the file.

Thanks in advance.

--amarendra

-- 
Spare time Linux hacker. amunix@[yahoo.com|obscure.org|fig.org]
http://www.obscure.org/~amunix/ (Updated !)
Man is the best computer we can put aboard a spacecraft ... and the
only one that can be mass produced with unskilled labor.
                -- Wernher von Braun

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to