busybox/testsuite/tail/tail-works
2008-03-23 03:28:40 +00:00

5 lines
129 B
Plaintext

echo -ne "abc\ndef\n123\n" >input
echo -ne "def\n123\n" >logfile.ok
busybox tail -2 input > logfile.bb
cmp logfile.ok logfile.bb