1
0
分叉 0
鏡像自 http://git.busybox.net/busybox/ 已同步 2025-01-18 23:45:10 +00:00
busybox/testsuite/tail/tail-n-works
2008-07-11 21:41:14 +00:00

4 行
133 B
Text

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