On Sat, Mar 14, 2009 at 04:16:59PM +0600, Vasily Ivanov wrote:
> On 14.03.09 1553 (+0600), Mikhail Gusarov wrote:
> > 
> > Twas brillig at 15:41:32 14.03.2009 UTC+06 when [email protected] did gyre 
> > and gimble:
> > 
> > 
> >  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}"
> 
> =)
> 
echo "aaa 92.140.190.222 bbb 999.999.999.999" | grep -oE
"([0-9]{1,3}\.){3}[0-9]{1,3}"

это не ip ... :)

-- 
С уважением,
П.Миронов


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Ответить