perl -ne'print if /Version +=/' file_name
perl -ne'print if /Version\s*=/' file_name
Updated: Thanks for the corrections;-)
In reply to Re: find string in file
by hipowls
in thread find string in file
by gfarhat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |