mirror of
https://https.git.savannah.gnu.org/git/grep.git
synced 2026-01-27 09:54:30 +00:00
Using this file,
cat > leading-blank.exempt <<\EOF
(?:^|\/)ChangeLog[^/]*$
(?:^|\/)(?:GNU)?[Mm]akefile[^/]*$
\.(?:am|mk)$
EOF
run this command to convert all non-conforming leading white
space to be all spaces:
git ls-files \
| pcregrep -vf leading-blank.exempt \
| xargs pcregrep -l '^ *\t' \
| xargs perl -MText::Tabs -ni -le \
'$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
4 lines
89 B
Plaintext
4 lines
89 B
Plaintext
[submodule "gnulib"]
|
|
path = gnulib
|
|
url = git://git.sv.gnu.org/gnulib.git
|