mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 15:23:11 +00:00
11 lines
118 B
Plaintext
11 lines
118 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
n=10
|
||
|
|
||
|
case "$1" in
|
||
|
-n) n=$2; shift 2 ;;
|
||
|
-n*) n=${1#-n}; shift ;;
|
||
|
esac
|
||
|
|
||
|
exec sed ${n}q "$@"
|