fix 021 for varying amts of whitespace in wc output

fix 021 for varying amts of whitespace in wc output
This commit is contained in:
Eric Sandeen
2004-05-04 00:09:53 +00:00
parent f5ee322c18
commit b45cbb5a13
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -128,7 +128,8 @@ head -1 $tmp.hahahahaplonk
# print out the rest of the data apart from the header
# the size is +1 for an extra \n at the end
echo -n "size of attr value = "
_attr -g "a3" $testfile.2 | tail -3 | wc -c
# wc inserts different amounts of whitespace in front...
_attr -g "a3" $testfile.2 | tail -3 | wc -c | sed -e "s/^ *//"
echo ""
inum_2=`ls -li $testfile.2 | $AWK_PROG '{ print $1 }'`