[colug-432] help with awk
Rick Hornsby
richardjhornsby at gmail.com
Tue Oct 6 20:35:19 EDT 2015
> 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/d6bbbab3/attachment.html
More information about the colug-432
mailing list