File: t-head.sh

package info (click to toggle)
only 0.0.6.0-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 208 kB
  • sloc: haskell: 304; sh: 81; makefile: 12
file content (6 lines) | stat: -rwxr-xr-x 95 bytes parent folder | download
1
2
3
4
5
6
#!/bin/sh
. i-all.sh

test-eq \
    "$($HEAD -n3 e-both.txt)" \
    "$($ONLY -l1:3 e-both.txt)"