#] #] ********************* #] "$d_bin"'review format notes.txt' # www.BillHowell.ca 18Apr2025 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"'review format notes.txt' | sed "s|^#\]| |" >"$d_bin"'review format notes TblOfContents.txt' # # +--+ #] [toRead, revisit]*[paper, email, vid,etc]s, use |*| anywhere in doc - pulls out line # $ grep "\(|\*|\)" "$d_bin"'review format notes.txt' | sed 's|^#\] ||' #24************************24 # Setup, ToDos, #08********08 #] ??Apr2025 #08********08 #] ??Apr2025 #08********08 #] ??Apr2025 #08********08 #] ??Apr2025 #08********08 #] ??Apr2025 #08********08 #] 18Apr2025 create "$d_bin"'review format.sh' >> 3 days work, but works well! +-----+ olde code # 18Apr2025 tests # 10h28m 18Apr25$ str='>> nice [description, illustration]' # ~ # 10h28m 18Apr25$ echo "$str" | cut -c 1-144 # >> nice [description, illustration] # ~ # >> OK # num=5 # num="$num" + 2 # 10h08m 18Apr25$ num="$num" + 2 # +: command not found # >> nyet # 10h08m 18Apr25$ num="$num" + 2 # +: command not found # ~ # 10h08m 18Apr25$ num=$( "$num" + 2 ) # 5: command not found # ~ # 10h09m 18Apr25$ let num = "$num" + 2 # bash: let: =: syntax error: operand expected (error token is "=") # ~ # 10h13m 18Apr25$ let "num = "$num" + 2" # ~ # 10h13m 18Apr25$ echo "$num" # 7 # ~ # >> OK # echo 'hell gibbi' | rev # >> OK # sed picks out the FIRST whitespace? #str1=$( echo "$str1" | rev ) #str1=$( echo "$str1" | sed 's|\(.*\)[ ].*|\1|' ) #str1=$( echo "$str1" | rev ) # enddoc