mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-05 08:10:15 +02:00
global: convert indentation-TABs to spaces
Transformed via this shell code:
t=$'\t'
git ls-files \
| grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \
| grep -vE 'tests/pr/|help2man' \
| xargs grep -lE "^ *$t" \
| xargs perl -MText::Tabs -ni -le \
'$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
This commit is contained in:
+3
-3
@@ -159,7 +159,7 @@ my @Tests =
|
||||
['fail-b', '9 9', {ERR => "$prog: syntax error\n"},
|
||||
{EXIT => 2}],
|
||||
['fail-c', {ERR => "$prog: missing operand\n"
|
||||
. "Try `$prog --help' for more information.\n"},
|
||||
. "Try `$prog --help' for more information.\n"},
|
||||
{EXIT => 2}],
|
||||
|
||||
['bignum-add', "$big + 1", {OUT => $big_p1}],
|
||||
@@ -182,8 +182,8 @@ foreach $t (@Tests)
|
||||
my $e;
|
||||
foreach $e (@$t)
|
||||
{
|
||||
$e->{OUT} .= "\n"
|
||||
if ref $e eq 'HASH' and exists $e->{OUT};
|
||||
$e->{OUT} .= "\n"
|
||||
if ref $e eq 'HASH' and exists $e->{OUT};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user