#!/bin/sh
#] 
#] *********************
#] $ bash "$d_bin"'1_arcArch projects.sh'  - key cmds cart [options, usage], txtEd for full view
# www.BillHowell.ca  15Apr2022 initial 
# view in text editor, using constant-width font (eg courier), tabWidth = 3

# $ arcArch		# brings up menu
#*********************
# Run  

flag_loop=1

while [[  1  ==  "$flag_loop"  ]]
do 

echo	''
echo	'******************************'
echo	'Select one of (or `q to quit) : '
echo	'Most used : '
echo	'1. fileops      [, header, run, ]*[, notes, ].sh'    
echo	'2. fileops test [, header, run, ]*[, notes, ].sh'  
echo	'3. strings      [, header, run, ]*[, notes, ].sh'    
echo	'4. strings test [, header, run, ]*[, notes, ].sh'  
echo	'+-----+'
echo	'3. sed                    | 32. loop: read file       | 33. 0_form notes.txt'  
echo	'4. diff                   | 42. loop: while           | 43. 0_form week Ben Davidson.txt'
echo	'5. date bash notes        | 52. fil[rXiv, attr,]      | 53. 0_form week Ukraine-Russia.txt'  
echo	'6. regular expressions    |                           | 63. 0_form gnuplot.plt'  
echo	'+-----+'
echo	''


read -p "Select by number : "  itm

if		[ "$itm" == "1" ];then
		pinn_arcArch  "fileops.sh"
elif	[ "$itm" == "2" ];then
		cat  "$d_SysMaint"'Linux/grep summary.txt'						|  grep "^#\] "  |  sed  's|^#\] ||'
elif	[ "$itm" == "3" ];then
		cat  "$d_SysMaint"'Linux/sed summary.txt'							|  grep "^#\] "  |  sed  's|^#\] ||'
elif	[ "$itm" == "4" ];then
		cat  "$d_SysMaint"'Linux/diff summary of key points.txt'   
elif	[ "$itm" == "5" ];then
		cat  "$d_SysMaint"'Linux/date notes.txt'							|  grep "^#\] "  |  sed  's|^#\] ||'
elif	[ "$itm" == "6" ];then
		cat  "$d_SysMaint"'Linux/regular expression notes.txt'		|  grep "^#\] "  |  sed  's|^#\] ||'
else
		flag_loop=0
fi

done


# enddoc
