Or die!
perl -ne'/(data)/ && die $1' file.txt
In reply to Re^2: Break one liner command line script after first match
by hdb
in thread Break one liner command line script after first match
by saumitra121
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |