summaryrefslogtreecommitdiffhomepage
path: root/testsuite/head/head-n-works
blob: db4325556c7bd8d387c22002159e5ca013149217 (plain)
1
2
3
4
[ -n "$d" ] || d=..
head -n 2 "$d/README" > logfile.gnu
busybox head -n 2 "$d/README" > logfile.bb
cmp logfile.gnu logfile.bb