Rsync options not recognized by system function

2011-05-27 Thread Ezra Taylor
='*/' --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 than

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 ( FILE ) { if( /Ezra/ ) #I'm searching for strings with the word Ezra. { print $_; # Now I'm printing lines with the name Ezra } } close(FILE); On

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 NONE , or NONE/ , or /bsvgId , 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 / , \ , ,