i wanna search two patterns simultaneosly using grep.I have tried using grep -f <filename which has patterns entry>.But i don need this..i wanna avoid this look up in to the fileis there any way??
Also i need to know whether there is any function to compare two strings in unix???i tried ueing if test <string1> -eq <string2> but its not working...
Thanx in advance Santhosh Ravindran
Also i need to know whether there is any function to compare two strings in unix???i tried ueing if test <string1> -eq <string2> but its not working...
Thanx in advance Santhosh Ravindran