On Mon, 21 Nov 2005 16:32:37 +1100 Cal McPherson <calm@xxxxxxxxxxxx> wrote: > #!/bin/bash > > ip_address=192.168.1.2 > > reversed=`echo $ip_address | awk 'BEGIN { FS = "."; OFS = "." } ; { print > $4, $3, $2, $1 }'` > > echo $reversed Dear Cal, thank you so much, it worked like a charm ! - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html