busybox/testsuite/tail/tail-works
2008-07-11 21:41:14 +00:00

5 lines
131 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