05-20-2008
5,
0
Join Date: May 2008
Last Activity: 25 September 2014, 5:03 PM EDT
Posts: 5
Thanks Given: 0
Thanked 0 Times in 0 Posts
How do I use $? in a script
Hi,
I want to grep for a certain string in a file and depending on whether I find the string or not (depending on value of $?) I want to run an operation (if statement). How do I do this?