<html><head>
<meta name="Generator" content="Novell Groupwise Client (Version 14.0.1 Build: 117118)">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body style="font: 10pt/normal Segoe UI; margin: 16px 16px 4px; font-size-adjust: none; font-stretch: normal;"><div class="GroupWiseMessageBody" id="GroupWiseSection_1444183261000_klarson@k12group.net_59511A0513870000BD1BF681F57056B0_"><div>Perfect. I'll test this out and let you know. I was close, but not quite there. Thank you.<br></div><div class="GroupWiseMessageBody" id="GroupWiseSection_1444178119000_richardjhornsby@gmail.com"><span class="GroupwiseReplyHeader">>>> Rick Hornsby <richardjhornsby@gmail.com> 10/6/2015 8:35 PM >>><br></span><div><br><div><blockquote type="cite"><div>On Oct 6, 2015, at 18:57, Keith Larson <<a href="mailto:klarson@k12group.net">klarson@k12group.net</a>> wrote:</div><div><div style="font: 10pt/normal Segoe UI; font-size-adjust: none; font-stretch: normal;"><div class="GroupWiseMessageBody" id="GroupWiseSection_1444175483000_klarson@k12group.net_59511A0513870000BD1BF681F57056B0_"><div><br></div></div></div></div></blockquote><blockquote type="cite"><div><div style="font: 10pt/normal Segoe UI; font-size-adjust: none; font-stretch: normal;"><div class="GroupWiseMessageBody" id="GroupWiseSection_1444175483000_klarson@k12group.net_59511A0513870000BD1BF681F57056B0_"><div>I would like the header row in both files if possible. </div></div></div></div></blockquote><div><br></div><div>To copy the header line, start thusly:</div><div>head -1 source.csv > males.csv</div><div>head -1 source.csv > females.csv</div><div><br></div><div>and every operation following that writes to the files, use the >> append operator.</div><div><br></div></div></div></div></div></body></html>