wc can emit unpredictable amount of whitespace

This commit is contained in:
Denis Vlasenko 2007-01-28 16:59:30 +00:00
parent afe488d4bc
commit dccb1a5343

View File

@ -1 +1,2 @@
test "`echo i\'m a little teapot | busybox wc`" = ' 1 4 20' # 1 line, 4 words, 20 chars.
test "`echo i\'m a little teapot | busybox wc | sed 's/ */ /g' | sed 's/^ //'`" = '1 4 20'