Rsync options not recognized by system function

2011-05-27 Thread Ezra Taylor
clude='*/' --exclude='*' '; my $RSYNC="/usr/bin/rsync"; system("$RSYNC", "$RSYNC_OPTS", "$host:/Blah/blah/Blue/$host_env/$cluster", "/tmp/$host"); -- Ezra Taylor

Re: Need a list of files in a dir.

2005-08-25 Thread Ezra Taylor
Your a funny dude Chris. On 8/25/05, Chris Devers <[EMAIL PROTECTED]> wrote: > On Thu, 25 Aug 2005, Luinrandir wrote: > > > How do I get the list of files in a DIR and put in an array? > > > > I'm drawing a blank on my search for this. > > Try writing a program instead, that seems to work better

Re: Use Perl to extract keywords

2005-04-24 Thread Ezra Taylor
Robert: An example is below. #!/usr/bin/perl -w open(FILE,"/etc/passwd") || die "Cannot open file: $!"; while ( ) { if( /Ezra/ ) #I'm searching for strings with the word Ezra. { print $_; # Now I'm printing lines with the name Ezra } } close(FILE); On 4/24/

Re: Filter Regular Expressions

2005-02-07 Thread Ezra Taylor
Gomez, Gonzalo wrote: Hi, I want to filter text using regular expressions, but i don't know how to find in a file a string like this , or , or , Etc. I try to use the little script bellow with a count for the word but this scrit doesn't work if i put symbols like / , \ , > , < (Reserved Symbo