Search Results

Search: Posts Made By: joeyg
1,773
Posted By joeyg
Then you want something closer to: for i in...
Then you want something closer to:

for i in $birdname
do
if [[ "$REPLY" = "$i" ]]
then
Found = Found + 1
else
NotFound = NotFound +1
...
1,773
Posted By joeyg
Your 'for' is going to create three data passes -...
Your 'for' is going to create three data passes - one for each element in birdname.
Thus, correct in giving three results.
What were you hoping for, or expecting?
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy