3
0

tail-works 131 B

1234
  1. $ECHO -ne "abc\ndef\n123\n" >input
  2. $ECHO -ne "def\n123\n" >logfile.ok
  3. busybox tail -2 input > logfile.bb
  4. cmp logfile.ok logfile.bb