Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if expressions #60

Open
shadichy opened this issue Nov 24, 2022 · 2 comments
Open

if expressions #60

shadichy opened this issue Nov 24, 2022 · 2 comments

Comments

@shadichy
Copy link

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

@daniel-sc
Copy link
Owner

@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 :)

@shadichy
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants