Re: Perl For system admin

2011-05-25 Thread Shlomi Fish
Hi Fudmer, next time, please reply to all recipients and don't send the reply only to me. See below for my response: On Wednesday 25 May 2011 13:53:53 fudmer rieley wrote: > I c/n get the referenced link to open.. said page not found? > http://search.cpan.org/~abigail/Regexp-Common-2011041701/li

Re: Perl For system admin

2011-05-24 Thread Shlomi Fish
Hi Shawn (and all), On Tuesday 24 May 2011 15:05:06 Shawn H Corey wrote: > On 11-05-24 12:10 AM, vishesh kumar wrote: > > Hi Members, > > > >I am a linux system admin. I want to use perl as a command line like > >sed > > > > and awk. > > For example suppose , i need to extract IP Addr fr

Re: Perl For system admin

2011-05-24 Thread Shawn H Corey
On 11-05-24 12:10 AM, vishesh kumar wrote: Hi Members, I am a linux system admin. I want to use perl as a command line like sed and awk. For example suppose , i need to extract IP Addr from a string or file using regrex i mean str="hello ip is 192.168.2.1 and data is xxx" And i want ip add

Perl For system admin

2011-05-23 Thread vishesh kumar
Hi Members, I am a linux system admin. I want to use perl as a command line like sed and awk. For example suppose , i need to extract IP Addr from a string or file using regrex i mean str="hello ip is 192.168.2.1 and data is xxx" And i want ip addr only using Regex echo $str | perl -pe ?