[colug-432] help with awk
Keith Larson
klarson at k12group.net
Tue Oct 6 22:01:38 EDT 2015
Perfect. I'll test this out and let you know. I was close, but not quite there. Thank you.
>>> Rick Hornsby <richardjhornsby at gmail.com> 10/6/2015 8:35 PM >>>
On Oct 6, 2015, at 18:57, Keith Larson <klarson at k12group.net> wrote:
I would like the header row in both files if possible.
To copy the header line, start thusly:
head -1 source.csv > males.csv
head -1 source.csv > females.csv
and every operation following that writes to the files, use the >> append operator.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20151006/4942f599/attachment.html
More information about the colug-432
mailing list