/home/bill/web/Qnial/code develop_test/ #] #] ********************* #] "$d_Qtest"'QNial symArgChange notes.txt' - ??? # www.BillHowell.ca 01Apr2023 initial # view in text editor, using constant-width font (eg courier), tabWidth = 3 #48************************************************48 #24************************24 # Table of Contents, generate with : # $ grep "^#]" "$d_Qtest"'QNial symArgChange notes.txt' | sed "s/^#\]/ /" # #24************************24 # Setup, ToDos, # re-order tstDatArgs for "tstSimple 2" - geany regexpr # search : \t\"(.*)\n(.*)\n(.*)\n(.*)\n(.*)\n # replace : \t\"\1\n\3\n\2\n\4\n\5\n #08********08 #] ??Apr2023 #08********08 #] ??Apr2023 #08********08 #] ??Apr2023 'QNial setup.ndf' - revamp Predefine ops to avoid sequencing problems #] put some in specific ndf files easier to manage?, can always easily revert #08********08 #] 02Apr2023 fix ary_idxseq_to_slc see "$d_Qtest"'arrays/arrays- develop.txt' #08********08 #] 02Apr2023 add tests to "$d_Qtest'QNial pLCoreLib.txt' "$d_Qtest" QNial test optrs.ndf arrays/arrays- data templates.ndf arrays/arrays- testGroupsCluster.ndf arrays/arrays- testOptrs.ndf boolean/boolean- testGroupsCluster.ndf boolean/boolean- testOptrs.ndf faults/faults- testGroupsCluster.ndf faults/faults- testOptrs.ndf fileops/fileops- test.ndf strings/stringList- tests.ndf strings/strings- testGroupsCluster.ndf strings/strings- testOptrs.ndf types/types- testGroupsCluster.ndf types/types- testOptrs.ndf +-----+ make changes as per "$d_Qtest"'230402 optrNamOld- occurences in QndfCoreL.txt' >> most changes are in 'types- testGroupsCluster.ndf' do that one file with pQndfCoreL="$d_Qtest"'QNial pLSpecial.txt' in pQndfCoreL_pOptrNamPL_replace() activate : pinnL_pOldNewPL_replace 1 "$pQndfCoreL" "$pOptrNamPL" $ bash "$d_bin"'fileops run.sh' /home/bill/web/bin/fileops run.sh: line 192: pinnL_pOldNewPL_replace: command not found >> should be povrL_pStrPL_replace $ bash "$d_bin"'fileops run.sh' povrL_pStrPL_replace() povrL: /home/bill/web/Qnial/code develop_test/QNial pLSpecial.txt pStrP: /home/bill/web/Qnial/code develop_test/optrNam changes- types.txt /home/bill/web/Qnial/code develop_test/types/types- testGroupsCluster.ndf povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam povr_strP_replace error, could not get fnam >> oops, add flagBackup448 to : povr_strP_replace() { flagBackup448="$1" povr448="$2" +-----+ a few other changes in 'fileops- test.ndf' 297: IF ('backup corrupted' sub_inTop_ary p_latestBackup) THEN 316:# sub_inTop_ary 'hello' 'hello Dolly' 317:# 'backup corrupted' sub_inTop_ary (link d_Qtest 'fileops/test input files/test- file_ops, backup corrupted.ndf') 319: IF ('backup corrupted' sub_inTop_ary (link EACH string p_latestBackup)) THEN 451: IF ('backup corrupted' sub_inTop_ary p_latestBackup) THEN >> do in geany txtEd QNial don't work : # ary_sub_in 'hello Dolly' 'hello' # (link d_Qtest 'fileops/test input files/test- file_ops, backup corrupted.ndf') ary_sub_in 'backup corrupted' qnial> ary_sub_in 'hello Dolly' 'hello' ------------------------------------------------------------- Break debug loop: enter debug commands, expressions or type: resume to exit debug loop executes the indicated debug command current call stack : ary_sub_in ary_sub_get_idx1stl ary_idxseq_to_slc ------------------------------------------------------------- 08********08 #] 01Apr2023 bash libraries to change optrNam in .ndf files (otherwise, too much [work, error] Will still have to change argOrder in usage. types.ndf changes - re-ordered optr[Nam, Arg]s use povrL_pStrPL_replace - replaces each [strOld, strNew] in each povr, backup flag define [povrL, pStrPL] in "$d_bin"'fileops run.sh' I created : pQndfCoreL_pOptrNamPL_replace, uses pinnL_pOldNewPL_replace_tests() "$d_Qtest"'230401 optrNam changes- types.txt' : atm_inTop_ary ary_atm_in atmA_anyInTop_ary ary_atmA_anyIn atmA_anyInTop2_ary ary_atmA_anyInBol itm_inTop_ary ary_itm_in itmA_anyInTop_ary ary_itmA_anyIn sub_inTop_ary ary_sub_in subL_anyInTop_ary ary_subL_anyIn povrL - for now, stick to 'core QNial libraries' from "$d_Qndfs"'QNial setup.ndf' I created : "$d_Qndfs"'QNial pLCoreLib.txt' : /home/bill/web/Qnial/MY_NDFS/QNial [symbol, arg] changes/QNial userWkspSymbol.ndf /home/bill/web/Qnial/MY_NDFS/types.ndf /home/bill/web/Qnial/MY_NDFS/faults.ndf /home/bill/web/Qnial/MY_NDFS/boolean.ndf /home/bill/web/Qnial/MY_NDFS/arrays.ndf /home/bill/web/Qnial/MY_NDFS/lists.ndf /home/bill/web/Qnial/MY_NDFS/strings.ndf /home/bill/web/Qnial/MY_NDFS/file_ops.ndf /home/bill/web/Qnial/MY_NDFS/windows.ndf /home/bill/web/Qnial/MY_NDFS/encryption.ndf /home/bill/web/Qnial/MY_NDFS/math - [quick, handy] stuff.ndf It would be handy, before running replacements, if I produced a list of all "coreLib-optrNam" occurences, for changing argOrders if needed. I created : pinnL_pStrL_extractCountPathsWithStrTo_pout() - [txtLines with str of pinnL] uncomment pQndfCoreL_pOptrNamPL_replace, then run : $ bash "$d_bin"'fileops run.sh' # enddoc