Re: egrep

2008-08-19 Thread Perry Smith
On Aug 19, 2008, at 12:12 PM, nikhil mehra wrote: Hi, Can we use egrep in perl program which would just open a file and search a literal string using egrep. Cna some one help me with syntax. Thanks, -- Nikhil Mehra "The only Constant in Life is CHANGE!" "Whether it is mainframe, client

Re: egrep and $ftp->cmd

2001-10-19 Thread Michael Fowler
On Fri, Oct 19, 2001 at 08:51:45PM +, P lerenard wrote: > I try to get one line from a file on another server. > I tried with Net::FTP > $ftp = Net::FTP->new("server"); > $ftp->login($user,$pass); > $ftp->cwd("dir"); > @zone = $ftp->cmd("egrp -n 'zone \"try.com' file"); > $ftp->quit; > print @