User Profile
Collapse
-
Thank you very much Kelvin... -
thanks kelvin,
i tested grep i all unix flavours and it worked fine n i got results.
recently i started writing perl programmes
i would like to know the scope for perl programmers n in what concepts one has to master to take seriously perl programminng carrier.
it will be great help if i get answer for this....Leave a comment:
-
HI ALL
For searching a particular patter in a file u can use the grep function.
suppose u r searching for particular pattern like "PATTERN" in inputfile;
u can use
$returnvalue=`c at inputfile | grep "PATTERN"`
$returnvalue contain all the lines that are matched.Even u can redirect it also
`cat inputfile | grep "PATTERN > outputfile`
...Leave a comment:
No activity results to display
Show More
Leave a comment: