tail-n-works 133 B

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