Chris Johnsen schrieb: > -cache_size=`wc -c .git/rev-cache/$cache_sha1 | grep -o "[0-9]*"` > +cache_size=`wc -c < .git/rev-cache/$cache_sha1 | tr -d ' '` > test_expect_success 'test --ignore-size function in fuse' ' > git-rev-cache fuse --ignore-size=$cache_size 2>output.err && > grep "final return value: 0" output.err && You can also have the shell strip the blanks: cache_size=$(wc -c < .git/rev-cache/$cache_sha1) test_expect_success 'test --ignore-size function in fuse' ' git-rev-cache fuse --ignore-size=${cache_size##* } 2>output.err && grep "final return value: 0" output.err && -- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html