Remove doubled words from documentation and comments.
Spot candidates by running these commands: git ls-files |xargs perl -0777 -n \ -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' Thanks to Jim Meyering for the original patch.
Showing
- doc/lzma-file-format.txt 2 additions, 2 deletionsdoc/lzma-file-format.txt
- src/liblzma/common/alone_encoder.c 1 addition, 1 deletionsrc/liblzma/common/alone_encoder.c
- src/liblzma/lzma/lzma2_encoder.c 1 addition, 1 deletionsrc/liblzma/lzma/lzma2_encoder.c
- src/xz/file_io.c 1 addition, 1 deletionsrc/xz/file_io.c
- src/xz/xz.1 1 addition, 1 deletionsrc/xz/xz.1
- windows/INSTALL-Windows.txt 1 addition, 1 deletionwindows/INSTALL-Windows.txt
Loading
Please register or sign in to comment