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
Αυτό το μήνυμα είναι μέρος του ακόλουθου νήματος:
το πλήρες δέντρο νημάτων ταξινομημένο κατά ημερομηνία
Marc Perkel στο
2006-06-23 06:28
Gareth Hastings στο
2006-06-23 08:05
Συντάκτης:
Gareth Hastings
Ημερομηνία:
2006-06-23 07:49
UTC
Προς:
Marc Perkel
Υ/ο:
exim-users
Αντικείμενο:
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