tail: fix fallout from tail -c optimization
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[ -n "$d" ] || d=..
|
||||
tail -n 2 "$d/README" > logfile.gnu
|
||||
busybox tail -n 2 "$d/README" > logfile.bb
|
||||
cmp logfile.gnu logfile.bb
|
||||
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
|
||||
|
Reference in New Issue
Block a user