First of all, apologises for main topic, but I'm not able to change its name.
I'm writting a script in bash with some functions and it doesn't work properly.
For example, which is what happens:
$1 $3.$2 $4
echo "Compression method: "
case $vCompression in
echo "Unknown compression format"
compFunct $vFormat $vCompression $vDest $vOrig
For the first case it works, but not for the second. I think there migh be any problem with the space or cause these are options, but I don't know.
tar -czvf: command not found