[wellylug] a bit of awk

andrej at paradise.net.nz andrej at paradise.net.nz
Mon Mar 22 15:27:36 NZST 2004


Quoting "E.Chalaron" <e.chalaron at xtra.co.nz>:

>  find /home -path '*.doc' | awk --field-separator=/ '{$3}'=$location
  find /home -path '*.doc' | $location=`awk --field-separator=/ '{print $3}'`

Try that ....




More information about the wellylug mailing list