From 699bcc4bd8166abb6ee26a37d9e1189817741277 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 8 Apr 2010 18:39:24 +0200 Subject: convert all TABs to equivalent spaces in indentation 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 : $_' --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 18ee0d32..660b8da9 100644 --- a/README +++ b/README @@ -47,9 +47,9 @@ necessarily of the same byte length. Additional bug reports can be found at: - http://savannah.gnu.org/bugs/?group=grep + http://savannah.gnu.org/bugs/?group=grep You can also browse the bug-grep mailing list archive at: - http://lists.gnu.org/archive/html/bug-grep/ + http://lists.gnu.org/archive/html/bug-grep/ -- cgit v1.2.1