in reply to Re^2: Help with problem (CUTTING TEXT FILES)
in thread Help with problem
Thanks! Here's that command line explained bit by bit:
grep grep for -v lines that DO NOT match ^$ an empty line (begin and end with nothing between) inputfile in the file "inputfile" | pipe the results to split the split program, which divides up a file -d naming the output files with digits -l 300000 and putting 300000 lines in each - getting the input from stdin (the pipe) outputfile and naming the output files starting with outputfile (fol +lowed by digits)
Aaron B.
Available for small or large Perl jobs; see my home node.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Help with problem (CUTTING TEXT FILES)
by Anonymous Monk on May 24, 2012 at 00:50 UTC |
In Section
Seekers of Perl Wisdom