in reply to find string in file
perl -ne'print if /Version +=/' file_name
perl -ne'print if /Version\s*=/' file_name
Updated: Thanks for the corrections;-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: find string in file
by CountZero (Bishop) on Mar 31, 2008 at 10:06 UTC | |
by moritz (Cardinal) on Mar 31, 2008 at 10:16 UTC |