shell/ not bash/
This commit is contained in:
parent
a725b5c0de
commit
4870919531
15 changed files with 0 additions and 0 deletions
27
bash/um
27
bash/um
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# export so that we can use it in subscripts.
|
||||
export UMBASEPATH=`realpath $0 | xargs dirname`
|
||||
|
||||
# catch first arguments with $1
|
||||
case "$1" in
|
||||
next)
|
||||
$UMBASEPATH/next.sh $2
|
||||
;;
|
||||
last)
|
||||
$UMBASEPATH/last.sh
|
||||
;;
|
||||
cat)
|
||||
# all args but first
|
||||
$UMBASEPATH/cat.sh "${@:2}"
|
||||
;;
|
||||
rename)
|
||||
$UMBASEPATH/rename.sh "${@:2}"
|
||||
;;
|
||||
tag)
|
||||
$UMBASEPATH/tag.sh "${@:2}"
|
||||
;;
|
||||
*)
|
||||
echo "usage: um (next|last|cat|rename|tag)"
|
||||
;;
|
||||
esac
|
||||
Loading…
Reference in a new issue