Please bottom post.
> 1. You are missing ";"
> Type
> `egrep $name testing.txt`;
> And not
> 'egrep $name testing.txt'
>
> Not the backticks and not quotes ...
>
There's also no reason to use backticks in void context.
perldoc -f system
Please use full paths, error check, etc. if you are goi
Bill Jastram wrote:
>
> When I use the following portion of Perl code:
> __
>
> #!/usr/bin/perl
> # use with:
> # perl IfThenElse tfcfam (Use all of this at the command line!)
>
> use strict;
> use warnings;
>
> print "Search by name: ";
>
> my $name
1. You are missing ";"
Type
`egrep $name testing.txt`;
And not
'egrep $name testing.txt'
Not the backticks and not quotes ...
HTH,
José.
-Original Message-
From: Bill Jastram [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 4:00 PM
To: [EMAIL PROTECTED]
When I use the following portion of Perl code:
__
#!/usr/bin/perl
# use with:
# perl IfThenElse tfcfam (Use all of this at the command line!)
use strict;
use warnings;
print "Search by name: ";
my $name = ;
'egrep $name testing.txt'
#my(@col1, @c