diff options
| author | Adam Olech <nddr89@gmail.com> | 2021-11-11 14:58:48 +0100 |
|---|---|---|
| committer | Adam Olech <nddr89@gmail.com> | 2021-11-11 14:58:48 +0100 |
| commit | b8a5bd2049e52ea7f55447b9c743664d17dab482 (patch) | |
| tree | 897be08101acfea9d011898a99899fdc21dc5d2f /extract-data-from-abs-guide/files/integer.txt | |
| parent | ee2eda45cf4200d0640c781acd9f7d6efaa09d17 (diff) | |
Rename eq.txt to integer.txt
Diffstat (limited to 'extract-data-from-abs-guide/files/integer.txt')
| -rw-r--r-- | extract-data-from-abs-guide/files/integer.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/extract-data-from-abs-guide/files/integer.txt b/extract-data-from-abs-guide/files/integer.txt new file mode 100644 index 0000000..139b267 --- /dev/null +++ b/extract-data-from-abs-guide/files/integer.txt @@ -0,0 +1,49 @@ + -eq + is equal to + + if [ "$a" -eq "$b" ] + + -ne + is not equal to + + if [ "$a" -ne "$b" ] + + -gt + is greater than + + if [ "$a" -gt "$b" ] + + -ge + is greater than or equal to + + if [ "$a" -ge "$b" ] + + -lt + is less than + + if [ "$a" -lt "$b" ] + + -le + is less than or equal to + + if [ "$a" -le "$b" ] + + < + is less than (within double parentheses) + + (("$a" < "$b")) + + <= + is less than or equal to (within double parentheses) + + (("$a" <= "$b")) + + > + is greater than (within double parentheses) + + (("$a" > "$b")) + + >= + is greater than or equal to (within double parentheses) + + (("$a" >= "$b")) |
