remaster/doc/lib-head+tail
2018-05-20 21:16:19 +02:00

14 lines
229 B
Bash

#!/bin/bash
#remaster lib
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }
#<function> [param]
function <function>() {
#Code of <function>
}
#this func is standalone executable
[ -n "$1" ] && {
<function> $@
}