1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
|
+ apply_rules_on_one_file .misspell-fixer.X.X.matches.all .misspell-fixer.X.X.sed.matched_rules work/X.txt X
+ cp -a work/X.txt work/X.txt.X
+ decorate_one_iteration .misspell-fixer.X.X.matches.all .misspell-fixer.X.X.sed.matched_rules work/X.txt X
+ diff='--- work/X.txt X-X-X X:X:X.X +X
+ local all_matches=.misspell-fixer.X.X.matches.all
+ local all_matches=.misspell-fixer.X.X.matches.all
+ local filename=work/X.txt
+ local filename=work/X.txt
+ local inplaceflag=X
+ local sed
+ local sed_rules_matched=.misspell-fixer.X.X.sed.matched_rules
+ local sed_rules_matched=.misspell-fixer.X.X.sed.matched_rules
+ local workfile=work/X.txt.X
+ rm work/X.txt.X
+ sed -b -f /dev/fd/X work/X.txt
+ sed=("${sed[@]}" '-b')
+ sed=('sed')
+ verbose 'actual file: work/X.txt'
+ verbose 'temp file: work/X.txt.X'
+ [[ -f work/X.txt.X ]]
+ [[ X = X ]]
+ [[ X = X ]]
+ [[ X = X ]]
+ [[ X = X ]]
+ [[ X = X ]]
+ [[ X = X ]]
+ [[ X = X ]]
++ cut -d : -f X,X
++ diff -u work/X.txt work/X.txt.X
++ grep --text -e 'lower then' .misspell-fixer.X.X.sed.matched_rules
++ grep --text -e succesful .misspell-fixer.X.X.sed.matched_rules
++ grep --text -e succesful .misspell-fixer.X.X.sed.matched_rules
++ grep --text work/X.txt .misspell-fixer.X.X.matches.all
++ IFS=:
++ IFS=:
++ IFS=:
++ IFS=:
++ read -r line pattern
++ read -r line pattern
++ read -r line pattern
++ read -r line pattern
++ sed 's/^/X/'
++ sed 's/^/X/'
++ sed 's/^/X/'
+++ work/X.txt.X X-X-X X:X:X.X +X
+++++ apply_whitelist_on_prefiltered_list .misspell-fixer.X.X
+++++ check_grep_version
+++++ check_sed_arguments
+++++ cut -d : -f X .misspell-fixer.X.X.matches.all
+++++ echo 'misspell-fixer: Iteration X: done.'
+++++ echo 'misspell-fixer: Iteration X: prefiltering.'
+++++ echo 'misspell-fixer: Iteration X: processing.'
+++++ execute_prefiltering list_files_from_find .misspell-fixer.X.X ''
+++++ find work '(' -iname '.misspell-fixer.X*' -o -iname .misspell-fixer.ignore -o -iname '*.BAK' -o -iname .git -o -iname .svn -o -iname .hg -o -iname CVS -o -iname '*.gif' -o -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' -o -iname '*.zip' -o -iname '*.gz' -o -iname '*.bzX' -o -iname '*.xz' -o -iname '*.rar' -o -iname '*.po' -o -iname '*.pdf' -o -iname '*.woff' -o -iname '*.mov' -o -iname '*.svg' -o -iname '*.tiff' -o -iname '*.mpX' -o -iname '*.jar' -o -iname yarn.lock -o -iname package-lock.json -o -iname composer.lock -o -iname '*.mo' ')' -prune -o -type f -and '(' -true ')' -and '(' -size -Xk ')' -print
+++++ grep '\\b' .misspell-fixer.X.prepared.sed.all_rules
+++++ grep --text -f /dev/fd/X .misspell-fixer.X.prepared.sed.all_rules
+++++ grep -Fvx -f .misspell-fixer.X.git.ignore
+++++ grep -q illegal
+++++ grep -v '\\b' .misspell-fixer.X.prepared.sed.all_rules
+++++ grep :
+++++ iterate_through_prefiltered_files X .misspell-fixer.X.X
+++++ iterate_through_targets list_files_from_find X '' /dev/null
+++++ list_files_from_find ''
+++++ local current_version
+++++ local file_lister_function=list_files_from_find
+++++ local file_lister_function=list_files_from_find
+++++ local iteration=X
+++++ local iteration=X
+++++ local iteration_tmp_file=.misspell-fixer.X.X
+++++ local iteration_tmp_file=.misspell-fixer.X.X
+++++ local iteration_tmp_file=.misspell-fixer.X.X
+++++ local iteration_tmp_file=.misspell-fixer.X.X
+++++ local previously_matched_files=
+++++ local previously_matched_files=
+++++ local prev_matches=/dev/null
+++++ local required_version=X.X
+++++ local retval=X
+++++ prepare_rules_for_prefiltering
+++++ printf '%s\X' work/D.txt
+++++ printf '%s\X' work/g.txt
+++++ printf '%s\X' work/R.txt
+++++ printf '%s\X' work/u.txt
+++++ printf '%s\X' work/V.txt
+++++ printf '%s\X' work/X.txt
+++++ read -r filename
+++++ read -r filename
+++++ read -r filename
+++++ read -r filename
+++++ read -r filename
+++++ read -r filename
+++++ read -r filename
+++++ return X
+++++ retval=X
+++++ retval=X
+++++ rm .misspell-fixer.X.prepared.grep.patterns .misspell-fixer.X.prepared.grep.patterns.word_limited .misspell-fixer.X.prepared.sed.all_rules .misspell-fixer.X.git.ignore
+++++ rm .misspell-fixer.X.X.matched_files
+++++ rm .misspell-fixer.X.X.matches.all
+++++ rm .misspell-fixer.X.X.sed.matched_rules
+++++ sed -b
+++++ sed -e 's/^s\///g' -e 's/\/.*g//g'
+++++ sed -e 's/^s\///g' -e 's/\/.*g//g' -e 's/\\b//g'
+++++ set +x
+++++ smart_sed=X
+++++ sort -u
+++++ sort -u
+++++ sort -VC
+++++ tee /dev/fd/X /dev/fd/X /dev/fd/X
+++++ warning 'Iteration X: done.'
+++++ warning 'Iteration X: prefiltering.'
+++++ warning 'Iteration X: processing.'
+++++ xargs -P X -I '{}' -n X bash -cx 'decorate_one_iteration .misspell-fixer.X.X.matches.all .misspell-fixer.X.X.sed.matched_rules '\''{}'\'' X'
+++++ [[ -f .misspell-fixer.X.X.matched_files ]]
+++++ [[ -s .misspell-fixer.ignore ]]
+++++ [[ -s .misspell-fixer.X.X.matches.all ]]
+++++ [[ -s .misspell-fixer.X.X.matches.all ]]
+++++ [[ X -lt X ]]
+++++ [[ X = X ]]
+++++ [[ X = X ]]
+++++ [[ X = X ]]
+++++ [[ X = X ]]
+++++ [[ X = X ]]
+++++ [[ X = X ]]
++++++ cat
++++++ cut -d : -f X .misspell-fixer.X.X.matches.all
++++++ grep --version
++++++ head -X
++++++ prefilter_progress_none
++++++ sed -e 's/.* //g'
++++++ xargs -X -P X -n X grep --text -F -noH -f .misspell-fixer.X.prepared.grep.patterns
++++++ xargs -X -P X -n X grep --text -F -noH -w -f .misspell-fixer.X.prepared.grep.patterns.word_limited
+lower than
+successful
+successfully
-lower then
-succesful
-succesfully
@@ -X,X +X,X @@
misspell-fixer: -d Enable debug mode.
misspell-fixer: Iteration X: done.
misspell-fixer: Iteration X: prefiltering.
misspell-fixer: Iteration X: processing.
misspell-fixer: Real run (-r) has not been enabled. Files will not be changed. Use -r to override this.
misspell-fixer: Target directories: work
\ No newline at end of file
\ No newline at end of file'
|