busybox/testsuite/tail/tail-n-works

5 lines
133 B
Plaintext
Raw Normal View History

$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