#] #] ********************* #] "$d_bin"'expr notes.txt' # www.BillHowell.ca 28Nov2024 initial # view in text editor, using constant-width font (eg courier), tabWidth = 3 #48************************************************48 #24************************24 # Table of Contents, generate with : # $ grep "^#]" "$d_bin"'expr notes.txt' | sed "s|^#\]| |" # >"$d_web"'??? notes TblOfContents.txt' # # +--+ #] [toRead, revisit]*[paper, email, vid,etc]s, use |*| anywhere in doc - pulls out line # $ grep "\(|\*|\)" "$d_bin"'expr notes.txt' | sed 's|^#\] ||' #24************************24 # Setup, ToDos, #08********08 #] ??Nov2024 #08********08 #] ??Nov2024 #08********08 #] ??Nov2024 #08********08 #] ??Nov2024 #08********08 #] ??Nov2024 #08********08 #] 28Nov2024 man expr, ARG1 ARG2 NAME expr - evaluate expressions SYNOPSIS expr EXPRESSION expr OPTION DESCRIPTION --help display this help and exit --version output version information and exit Print the value of EXPRESSION to standard output. A blank line below separates increasing precedence groups. EXPRESSION may be: ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2 ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0 ARG1 < ARG2 ARG1 is less than ARG2 ARG1 <= ARG2 ARG1 is less than or equal to ARG2 ARG1 = ARG2 ARG1 is equal to ARG2 ARG1 != ARG2 ARG1 is unequal to ARG2 ARG1 >= ARG2 ARG1 is greater than or equal to ARG2 ARG1 > ARG2 ARG1 is greater than ARG2 ARG1 + ARG2 arithmetic sum of ARG1 and ARG2 ARG1 - ARG2 arithmetic difference of ARG1 and ARG2 ARG1 * ARG2 arithmetic product of ARG1 and ARG2 ARG1 / ARG2 arithmetic quotient of ARG1 divided by ARG2 # enddoc