Clean up whitespace problems with 166.

Merge of master-melb:xfs-cmds:28941a by kenmcd.

  Don't leave trailing whitespace at EOL when filtering output.
This commit is contained in:
Dave Chinner
2007-06-20 06:14:34 +00:00
parent 243826007f
commit 812b331b29
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -29,7 +29,12 @@ _cleanup()
_filter_blocks()
{
$AWK_PROG '/[0-9]/ { print $1, $2, "XX..YY", "AG", "(AA..BB)", $6, $7 }'
$AWK_PROG '/[0-9]/ {
if ($7)
print $1, $2, "XX..YY", "AG", "(AA..BB)", $6, $7;
else
print $1, $2, "XX..YY", "AG", "(AA..BB)", $6;
}'
}
# real QA test starts here
+1 -1
View File
@@ -1,4 +1,4 @@
QA output created by 164
QA output created by 166
0: [0..31]: XX..YY AG (AA..BB) 32
1: [32..127]: XX..YY AG (AA..BB) 96 10000
2: [128..159]: XX..YY AG (AA..BB) 32