zshconfig/zsh/std.zsh
2023-10-05 19:40:05 +02:00

7 lines
No EOL
118 B
Bash

# usage: skip N
# skip n elements from input
function skip() {
local n=$1
shift
tail -n +"$((n+1))" "$@"
}