#!/bin/sh
#] 
#] *********************
#] $ bash "$d_strings"'strings run.sh' 
# www.BillHowell.ca  10Oct2023 initial 
# view in text editor, using constant-width font (eg courier), tabWidth = 3


#24************************24




#24************************24
# List of operators, generated with :
# $ grep  "^#]"  "$d_strings"'strings run.sh' |  sed "s/^#\]/  /"  >"$d_strings"'strings run.sh'' TblOfCont.txt'



# find active run functions: 
# $ grep  "^[ 	]*[A-Za-z0-9_]\+[ 	]\+.*#"  "$d_strings"'strings run.sh'
# note 	use of tab key in grep search expression
# func defs come BEFORE 'titleLine capture for TableOfContents: 
#		uncomment (delete '#]') of titleLine to run choice, BUT put back later!


#08********08
# Setup 


# loaded by strings.sh :
#		source  "$d_bin""standard header.sh"
source  "$d_bin"'strings.sh'



#08********08
# code 


#] tPthP_get_tDeltaDays_run				#() test
	tPthP_get_tDeltaDays_run()  
{
	d_webOnly="$d_PROJECTS"'webHtmlOnly/'

	
	echo  'tPthP_get_tDeltaDays  "$d_web""home.html"   "$d_webOnly""home.html" : '
	echo  $( tPthP_get_tDeltaDays  "$d_web""home.html"   "$d_webOnly""home.html" )

		## shows line: 'C5b)  Check a few reference details, and if they are legitimate (using a quick web search and personal familiarity with references)? '
		## line='C5b)  Check a few reference details, and if they are legitimate (using a quick web search and personal familiarity with references)? ';  echo "$line"					
		## linLen= 133
		#linLen=$( echo  -n  "$line"  |  wc  --chars  );  echo  "linLen= $linLen"
		## null string?
		#echo  "$line"  |  cut -c  65-"$linLen"
		## shows line: 'C5b)  Check a few reference details, and '	
		#line='C5b)  Check a few reference details, and '; echo "$line"	
		## lineLen = 41
		#linLen=$( echo  -n  "$line"  |  wc  --chars  ); echo  "linLen= $linLen"
		## cut to 24 chr
		#if [ "$linLen"  -ge  65 ]; then  echo  "$line"  |  cut -c  1-65;  echo  "$line"  |  cut -c  65-"$linLen";  else  echo  "$line";  fi
		#dateTimeFormats_echoNoZero
		#dateTimeFormats_echoZeroPad
		## tDeltaUnix= ??
		#echo $( yymmddhhmmP_to_tDeltaUnix  '211014  8h37m'  '221014 18h43m'  )  
		## tDeltaUnix= ??
		#echo $( yymmddhhmmP_to_tDeltaUnix  '211014  8h37m'  '211114  8h37m'  )  
		## tDeltaUnix= ??
		#echo $( yymmddhhmmP_to_tDeltaUnix  '211014  8h37m'  '211015  8h37m'  )  
		## tDeltaUnix= ??
		#echo $( yymmddhhmmP_to_tDeltaUnix  '211014  8h37m'  '211014  9h37m'  )  
		## tDeltaUnix= ??
		#echo $( yymmddhhmmP_to_tDeltaUnix  '211014  8h37m'  '211014  8h38m'  )  
		#str_chrP_rmBetween  'hard on'  '{}'
		#str_chrP_rmBetween  'ha{rd }on'  '{}'
		#str_chrP_rmBetween  'Let 1 ≤ q ≤ + ∞ {\displaystyle 1\leq q\leq +\infty } be a positive extended real quantity. Let j {\displaystyle j} and m {\displaystyle m} be non-negative integers such that j < m {\displaystyle j<m}. Furthermore, let 1 ≤ r ≤ + ∞ {\displaystyle 1\leq r\leq +\infty } be a positive extended real quantity, p ≥ 1 {\displaystyle p\geq 1} be real and θ ∈ [ 0 , 1 ] {\displaystyle \theta \in [0,1]} such that the relations'  '{}'
		#str_chrP_rmBetween  '{\displaystyle {\dfrac {1}{p}}={\dfrac {j}{n}}+\theta \left({\dfrac {1}{r}}-{\dfrac {m}{n}}\right)+{\dfrac {1-\theta }{q}},\qquad {\dfrac {j}{m}}\leq \theta \leq 1}'  '{}'
		#str_chrP_rmBetween  'for any u ∈ L q ( R n ) {\displaystyle u\in L^{q}(\mathbb {R} ^{n})} such that D m u ∈ L r ( R n ) {\displaystyle D^{m}u\in L^{r}(\mathbb {R} ^{n})}, with two exceptional cases:'    '{}'
		## have to check result on terminal
		#povr_chrP_rmBetween  "$d_web"'References/Mathematics/0_math theorem list, wikipedia1.txt'  '{}'  
		## 6
		#echo  'hello'  |  wc --chars
		## 91
		#echo  'colWid_strInn_get_strOut   #(colWid strInn) pad strInn with ending spaces to reach colWid'  |  wc --chars

}



#08********08
# run - select one of options
# To build the "run" list below : 
#1.$ grep  "^#] \|^		#tst "  "$d_strings"'strings run.sh' |  sed "s|^#] |\t#|;s|^		#tst |\t\t#|"  
#2. copy terminal output
#3. paste below line # copy-past below :  
#			 before lines:
#					# $ bash  "$d_bin"'fileops test run.sh' 
#					# enddoc
# copy-past below :  

#	yymmddhhmmP_to_tDeltaUnix_test
#	echo 'calc 7.5/3.2 = '$( calc 7.5/3.2 )
	#tPthP_get_tDeltaDays_run


#	MUST check for apos in str!!!

	#
	#*********************
	#$ bash "$d_strings"'strings run.sh' 

#	yymmddhhmmP_to_tDeltaUnix_run      #() test
#	dateTimeFormats_echoNoZero				#() show my common date-time [code, format]s
#	dateTimeFormats_echoZeroPad				#() zero-pad formatted date-time
#	tPthP_get_tDeltaDays_test				#() test
#	tUnixRef_weekDaySameWeek_get_ddmmmyyyy_test		#() get "weekDay" ddmmmyyyy for week of UnixSec1970


# $ bash  "$d_strings"'strings run.sh'  

# enddoc
