I've got a bunch of data files I need to read, but unfortunately they
contain some empty lines that I need to exclude.
How do I specify empty lines with the EXCLUDE option in rcols?
Pretty much as you would if you read in Perl:
@cols = rcols 'data.dat', {Exclude => '/^\s*$/'}
Probably should be an option for this - or automatic dropping in rcols.
It is semi-often that I have this problem + need to exclude other lines
(header lines for instance).
Cheers,
J.
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl