For some strange reason, I can't make the test [[ work in a bash script
#!/bin/bash
if [[ $DIR ~= DIRECTORY_TO_TEST ]]
then
...
fi
the error message is [[: not found the bash version is 4.4.12 and the return is
For some strange reason, I can't make the test [[ work in a bash script
#!/bin/bash
if [[ $DIR ~= DIRECTORY_TO_TEST ]]
then
...
fi
the error message is [[: not found the bash version is 4.4.12 and the return is