avoid collisions with common /usr/bin/ commands

rename head, tail, zip to lhead, ltail, and lzip to avoid collisions with command unix commands
This commit is contained in:
tpoindex 2019-09-11 23:53:56 -06:00
parent 7b6531a74e
commit 1ead6d0b87
3 changed files with 18 additions and 18 deletions

View file

@ -8,11 +8,11 @@ take() {
command head -n ${1}
}
tail() {
ltail() {
drop 1
}
head() {
lhead() {
take 1
}
@ -316,7 +316,7 @@ ntupr() {
ntupx 1- "$@" | last
}
zip() {
lzip() {
local list=$*
cat - | while read x; do
y=$(list $list | take 1)