Merge commit 'cd62c04d009b3baf7582556866a7029291b54573'
[ffmpeg.git] / compat / plan9 / head
1 #!/bin/sh
2
3 n=10
4
5 case "$1" in
6     -n)  n=$2;      shift 2 ;;
7     -n*) n=${1#-n}; shift   ;;
8 esac
9
10 exec sed ${n}q "$@"