3
0

tail-works 164 B

123456
  1. # FEATURE: CONFIG_INCLUDE_SUSv2
  2. $ECHO -ne "abc\ndef\n123\n" >input
  3. $ECHO -ne "def\n123\n" >logfile.ok
  4. busybox tail -2 input > logfile.bb
  5. cmp logfile.ok logfile.bb