I'm trying to do something like this.
I need every entry/user in file1
to be queried against every entry in file2
independently.
> cat file1
john
james
mark
adam
luke
chris
scott
> cat file2
check if **user** has account
check if **user** has permission
check if **user** has website
check if **user** has root
So basically read line from file1
one by one, but execute against all entries in file2
. So john is checked against all four entries, then james and so on.
Do i assign variables to every user? then how will I define that them in file2
also the lists/files are likely to fluctuate in content/size so would like to accommodate that change..
Thanks guys! Isl