bash-shell-to-bat-converter icon indicating copy to clipboard operation
bash-shell-to-bat-converter copied to clipboard

`if` expressions

Open shadichy opened this issue 2 years ago • 2 comments

https://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.html

shadichy avatar Nov 24 '22 05:11 shadichy

@shadichy basic "if" expressions are supported - could you provide an example for which it does not work (as expected)? Preferably together with the expected output :)

daniel-sc avatar Nov 24 '22 08:11 daniel-sc

@daniel-sc

Things that are not working (as my expectations): -f file -d dir -z string -eq, -le, -lt, -ge, -gt ! (equivalent to not) [[ ]] expressions

and also mkdir -p

shadichy avatar Nov 24 '22 14:11 shadichy