This commit is contained in:
JMARyA 2023-10-05 19:40:05 +02:00
parent 828bb9cf84
commit 4488e05a86
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
12 changed files with 57 additions and 18 deletions

7
zsh/std.zsh Normal file
View file

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