diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-11-25 21:18:15 +0100 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-11-25 21:18:15 +0100 |
commit | a5f8dad427865bda921d9c2f92079c9f2710b8f6 (patch) | |
tree | 87ac8558ba5b0864b6435676b6ab2aeffd0b8999 | |
parent | 9a7fc5f52f687ee712cd974c91f296290fe7e1ea (diff) |
Add bash some conditionals
-rw-r--r-- | bash.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,3 +30,5 @@ Loop over integers * `-z`: is empty string * `-f`: is regular file +* `$A == $B`: string equality +* `$A != $B`: string inequality |