reorg bash
This commit is contained in:
parent
a61ce23294
commit
e21f2470ef
26 changed files with 5 additions and 19 deletions
25
um
25
um
|
|
@ -1,25 +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/bash/next/next.sh $2
|
||||
;;
|
||||
last)
|
||||
$UMBASEPATH/bash/last/last.sh
|
||||
;;
|
||||
cat)
|
||||
# all args but first
|
||||
$UMBASEPATH/bash/mdcat/mdcat.sh "${@:2}"
|
||||
;;
|
||||
rename)
|
||||
$UMBASEPATH/bash/rename/rename.sh "${@:2}"
|
||||
;;
|
||||
*)
|
||||
# else
|
||||
echo "usage: um (next|last|cat|rename)"
|
||||
;;
|
||||
esac
|
||||
Loading…
Reference in a new issue