build: Plan 9 support
[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 "$@"