Quoting Kathryn Hogg <kjh at flyballdogs.com>: > On 2013-11-19 18:16, Harry Penner wrote: > >> Try printf. This example would give you just the first 3 characters >> of field 6 as your example intended: >> >> awk -F ';' '{ printf( "%.3s", $6) }' > > If you want to print out the whole row with field #6 modified, try this > > awk -F';' 'BEGIN { OFS=";"} > {$6=substr($6, 0, 3); print $0;}' > > -- > Kathryn Hogg > http://womensfooty.com Cheers everyone. The working solution for this is using Kathryn's example. -Saul David Alanis