From b8a5bd2049e52ea7f55447b9c743664d17dab482 Mon Sep 17 00:00:00 2001 From: Adam Olech Date: Thu, 11 Nov 2021 14:58:48 +0100 Subject: Rename eq.txt to integer.txt --- extract-data-from-abs-guide/files/eq.txt | 49 --------------------------- extract-data-from-abs-guide/files/integer.txt | 49 +++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 extract-data-from-abs-guide/files/eq.txt create mode 100644 extract-data-from-abs-guide/files/integer.txt (limited to 'extract-data-from-abs-guide/files') diff --git a/extract-data-from-abs-guide/files/eq.txt b/extract-data-from-abs-guide/files/eq.txt deleted file mode 100644 index 139b267..0000000 --- a/extract-data-from-abs-guide/files/eq.txt +++ /dev/null @@ -1,49 +0,0 @@ - -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")) 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")) -- cgit v1.2.1