Mironov Pavel -> [email protected] @ Sun, 15 Mar 2009 18:57:30 +0300:
>> > VI> wget -q http://myip.ru -O - | grep -E "([0-9]{1,3}\.){3}[0-9]{1,3}" >> > | sed 's/[^0-9\.]//g' >> > >> > wget -q http://myip.ru -O- | perl -ne 'print $1 if >> > /(([0-9]{1,3}\.){3}[0-9]{1,3})/' >> Хотя.. wget -q http://myip.ru -O- | grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}" >> >> =) >> MP> echo "aaa 92.140.190.222 bbb 999.999.999.999" | grep -oE MP> "([0-9]{1,3}\.){3}[0-9]{1,3}" MP> это не ip ... :) И чо, http://myip.ru такое пишет? -- Artem Chuprina RFC2822: <ran{}ran.pp.ru> Jabber: [email protected] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

