3
0

tail-works 129 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