<div dir="ltr">Hi Zoltan,<div>good point. I did a little reading and there were some notes about awk / linux having issues if there were too many files open at one time so my assumption is that all files are open until the script finishes. My file was sorted and it appears to have worked, but as I go through the data I'll keep this in mind. I'll run it with >> to see if there is a difference tomorrow. </div>
<div><br></div><div>regards<br>Matt</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 4:47 PM, Zoltan Szecsei <span dir="ltr"><<a href="mailto:zoltans@geograph.co.za" target="_blank">zoltans@geograph.co.za</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>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<div class=""><br>
      <br>
      <br>
      On 2014/07/15 08:29, Matt Boyd wrote:<br>
    </div></div><div class="">
    <blockquote 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>
    </div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 

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

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

Mobile: <a href="tel:%2B27-83-6004028" value="+27836004028" target="_blank">+27-83-6004028</a>
Fax:    <a href="tel:%2B27-86-6115323" value="+27866115323" target="_blank">+27-86-6115323</a>     <a href="http://www.geograph.co.za" target="_blank">www.geograph.co.za</a>
===========================================</pre>
  </font></span></div>

<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>