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

5 lines
131 B
Plaintext

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