Re: [exim] bash or perl question

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Christian Schmidt
Datum:  
To: exim-users
Betreff: Re: [exim] bash or perl question
Hello Marc,

Marc Perkel, 23.06.2006 (d.m.y):

> Not quite what I wanted - what I want to do is reverse the numbers in IP
> addresses.


How do you mean that?
Let's take 123.124.125.126. Do you want the script to change it to
126.125.124.123 or to 621.521.421.321?

The first could be done using awk.

And concerning your first question about how to "compare" two text
files: Why don't you give "diff" a chance?

Regards,
Christian Schmidt

--
Schneewehe:
begleitet Schneemanngeburten.
Bloß nicht verharschen lassen.