in reply to Re: Reading file and matching lines
in thread Reading file and matching lines
One liner
Prompt> perl -ne ' next if !/^E/; print $_; ' datafile E99HEADER|006|001 E99INSSCH|052| E99POLCOM|1||IIL|62|35119849249024||||| E99INSFAC2|C00124||||||XAJX0727,YGAX0000,ZAAJ0203,VABA0018,WJZA1800|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Reading file and matching lines
by tbone654 (Beadle) on Feb 11, 2014 at 20:41 UTC |