in reply to How to read each line of file into an array and split contnts of each line into array cells
The following code probably does what you want, and more, but will you learn more if you follow " How do I post a question effectively?".
perl -F-\|@\|~ -anE 'say for @F; push @x, {TIME=>$F[3],REC=>$_,PIECES= +>[@F]}}{for (@x){next unless $_->{TIME} ge "06" and $_->{TIME} le "1 +8";say qq(do someting with $_->{REC}) }' <Your file name>
My goal ... to kill off the slow brain cells that are holding me back from synergizing my knowledge of vertically integrated mobile platforms in local cloud-based content management system datafication.
|
|---|