Read contents of file and execute command
I have a file named PKGSEL with on line like this:
"Var1" "Var2" "Var3" "Var4"
I don't know how to do something like this: if PKGSEL file contains "Var1" then the script should execute a command, if it contains "Var2" is should execute another command - and so on...
|