TEST-A.txt: list of ip address ranges [AS/isp's in a country]
TEST-B.txt: list of ip addresses
I just need to know, if an ip in the TEST-B.txt is in a range of
TEST-A.txt
cat "TEST-A.txt"
63.31.63.0/24;9007;44536
64.65.0.0/19;9000;8263
62.64.14.0/21;9001;6852
cat "TEST-B.txt"
63.31.63.2
64.66.5.
The solution [from the FreeBSD mailing list]:
perl -00 -e 'print map $_->[0], sort { $a->[1] <=> $b->[1] } map [$_,
tr/\n//], <>' < before.txt > after.txt
Thank you!!
> or maybe in bash..
> script/"one liner" e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ
>
> i want to make this output f
$ perl -e 'while (<>) { push @a,"" if /./ && ($#a < 0 || $a[$#a] =~ /\n
\n$/s); $a[$#a] .= $_} print join("",sort @a);' < before.txt > after.txt
$ diff before.txt after.txt
$
i don't get it, it doesn't work, am i missing someth
Please god, tell me, how does this "magic" work?
http://pastebin.com/raw.php?i=Cr6WzdGv
Thank you!!
> Jozsi Vadkan writes:
>
> > or maybe in bash..
> > script/"one liner" e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ
> >
> > i want to
or maybe in bash..
script/"one liner" e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ
i want to make this output from it:
http://pastebin.com/raw.php?i=kH8VxT0A
So from the input, i want to make an ascendant order, how many things
are under a "SOMETHING-XX"
Does anyone has any "perl magic"
I've got two pendrives.
I want to install a Debian on them. RAID1.
Ok...
...
After I installed it in RAID1, it works perfectly, ok! :)
When I pull out one of the pendrive [good pendrive], it still boots up,
hurrah :)
But: ...
When I pull out the other pendrive [i plug in the first one i trie
I have a file:
cat file.txt
daemon
1):
596
0
0
1
0
0
bin
2):
12
0
0
1
0
0
sys
3):
0
0
0
0
0
0
And i want to only output the first, second, and fourth line to another
file.
The:
sed -n '1,2p;4p' file.txt
doesn't work.
What magic do i need for it? :D
Thanks..:\
--
users mailing list
users@
Can anyone post a howto/doc, help about booting a Debian on a
RouterStation Pro?:\
https://forum.openwrt.org/viewtopic.php?pid=108415#p108415
I still didn't manage to boot from it.
Or any other "normal distro" :\
Thank you..
p.s.: a little more detailed howto:\
--
users mailing list
users@li
I want to put my server in a "server hotel".
But: I don't trust my "server hotel owner".
What can I do?
I can crypt my partition/hdd's that contains the data. Ok.
But: then my operating system will not be encrypted. Not Ok.
If I crypt my operating system too, then when a reboot comes,
I have
Can someone [same subnet, e.g.: with a hub, not switch..] sniff my skype
password when i'm using Skype? Is it encrypted?
Thank you for the info
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/use
10 matches
Mail list logo