clude='*/' --exclude='*' ';
my $RSYNC="/usr/bin/rsync";
system("$RSYNC", "$RSYNC_OPTS", "$host:/Blah/blah/Blue/$host_env/$cluster",
"/tmp/$host");
--
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
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/
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