kolibrios-fun/contrib/sdk/sources/ffmpeg/ffmpeg-2.1/compat/plan9/head
Sergey Semyonov (Serge) ecf3e862ea ffmpeg-2.1.1: move directory
git-svn-id: svn://kolibrios.org@6148 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-05 22:14:10 +00:00

11 lines
118 B
Bash

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