Re: [exim] bash or perl question
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Deze boodschap maakt deel uit van devolgende draad:
de volledige draad-boom gesorteerd op datum
Marc Perkel op
2006-06-23 06:28
Gareth Hastings op
2006-06-23 08:05
Auteur:
Gareth Hastings
Datum:
2006-06-23 07:49
UTC
Aan:
Marc Perkel
CC:
exim-users
Onderwerp:
Re: [exim] bash or perl question
> >> You wouldn't happen to know a good way to reverse the digits and
print
> >> the IP address backwards?
> >>
You could try:
cat file | sed 's/\./ /g' | awk '{print $4"."$3"."$2"."$1}'
Gareth