<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      Can't test this now, and am a very novice awk user, but if column
      3 was <u>not</u> sorted, would only the last contiguous set of
      records be in the output file(s)?<br>
      In other words, when does awk close the output file, and would
      '>>' be safer than '>' ?<br>
      <br>
      Regards,<br>
      Zoltan<br>
      <br>
      <br>
      On 2014/07/15 08:29, Matt Boyd wrote:<br>
    </div>
    <blockquote
cite="mid:CAFgHUGLhdfHoW9iUiTr3a73-wJXa3ngfK8JZfOshVLHLU7JiDA@mail.gmail.com"
      type="cite">
      <div dir="ltr">I possibly shouldn't have bothered the list but as
        I did, this is the script I used.
        <div><br>
        </div>
        <div>awk -F, '{print > $3}' Filtered_data.csv<br>
        </div>
        <div><br>
        </div>
        <div>prints the whole line and creates a new file named &
          based on column 3.</div>
        <div><br>
        </div>
        <div>Simple enough to be embarrassing</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028
Fax:    +27-86-6115323     <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
  </body>
</html>