busybox/testsuite/tail/tail-works

5 lines
129 B
Plaintext
Raw Normal View History

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