refactor
This commit is contained in:
parent
828bb9cf84
commit
4488e05a86
12 changed files with 57 additions and 18 deletions
7
zsh/std.zsh
Normal file
7
zsh/std.zsh
Normal file
|
@ -0,0 +1,7 @@
|
|||
# usage: skip N
|
||||
# skip n elements from input
|
||||
function skip() {
|
||||
local n=$1
|
||||
shift
|
||||
tail -n +"$((n+1))" "$@"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue