Nir Cohen wrote:
>
> I try to write a script that open 2 files .
> the first file is /etc/passwd which in the first column has the
> users name in my server .the second file is a file that has just users name in each
>row.
> I want a script that will check both files and if the users name is the
Yoiu are doing an assignment vs a check. Also when doing checking the numeric
checks are ==, > , < but for the type of chck you want , use eq (ie if ( $z eq $a ) {
# do something}
The ' if ( $z = $a )' catches most at least once.
Wags ;)
-Original Message-
From: nir