head-n-works 126 B

1234
  1. [ -n "$d" ] || d=..
  2. head -n 2 "$d/README" > logfile.gnu
  3. busybox head -n 2 "$d/README" > logfile.bb
  4. cmp logfile.gnu logfile.bb