Hello Gareth,

Gareth Hastings, 23.06.2006 (d.m.y):

> Ah, I forgot you could specify the delimiter with -F!!
> 
> cat file | awk -F. '{print $4"."$3"."$2"."$1}'
> 
> (Less typing than above!!!!)

Useless use of cat. ;-)

awk -F. '{print $4"."$3"."$2"."$1}' file
will do the job, too. 

Regards,
Christian Schmidt

-- 
Das Lob darf man nicht hinter dem Rücken des Gegenstands ändern, aber
den Tadel.
                -- Jean Paul

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to