kolibrios/contrib/sdk/sources/ffmpeg/compat/plan9/head

11 lines
118 B
Plaintext
Raw Normal View History

#!/bin/sh
n=10
case "$1" in
-n) n=$2; shift 2 ;;
-n*) n=${1#-n}; shift ;;
esac
exec sed ${n}q "$@"