The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 01-11-2006
manthasirisha manthasirisha is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 59
vino,

i am afraid if i understand what u suggested. Your explantion of how grep works and thereby comparing the exit status of grep to detect the presence of a letter in the string is understood, but i didnt quite follow two aspects:

1. why is there a /dev/null in his piece of code?
2. How are achieving the same without a grep in your solution?

can you please take efforts to elaborate?

Thanks a ton again,
Sirisha