Welcome to mirror list, hosted at ThFree Co, Russian Federation.

head « plan9 « compat - github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2840b2d50f9a7d9bc481192ef8d75bf17df94fb0 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

n=10

case "$1" in
    -n)  n=$2;      shift 2 ;;
    -n*) n=${1#-n}; shift   ;;
esac

exec sed ${n}q "$@"