#!/usr/bin/perl while (<>) { if (/\s*inet (addr:)?([\d\.]+) /) { print "$2\n"; } }
In reply to Re: patern matching difficulties, in two cases
by sgifford
in thread pattern matching difficulties, in two cases
by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |