Thread ip mit regexp aus einer Datei filtern: wie filtert man aus einer log datei ips (33 answers)
Opened by misterx at 2005-03-28 16:35

renee
 2005-03-30 16:00
#53013 #53013
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Bei mir sehen die txts so aus...

ip1.txt:
Code: (dl )
1
2
127.0.0.1 password1 id1
127.0.0.2 password2 id2


ip2.txt:
Code: (dl )
1
2
3
129.0.0.1 test1 id4
129.0.0.2 test3 id5
127.0.0.1 password1 id1


Aufruf: perl skript.pl -ip 127.0.0.1 -password password1 -file ip1.txt -file2 ip2.txt

Code: (dl )
1
2
~ 34> perl test_ip.pl -ip 127.0.0.1 -password password1 -file ip1.txt -file2 ip2.txt
127.0.0.1 password1 id1
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread ip mit regexp aus einer Datei filtern: wie filtert man aus einer log datei ips