linuxgsm.sh
and _default.cfg
.if
Statementsif [ statement ]; then
should be a one-liner operation.==
, lt
, lt
etc. are preferred to -eq
, -le
, -lt
.-d
! -d
-f
! -f
-z
-n
-v
! -z
or ! -n
fn_
and using lowercase letters only.echo -e " * Message here"
fn_print_dots
to show a process is happening but with no known outcome.fn_print_dots
fn_print_ok
or fn_print_fail
_nl
for example fn_print_ok_nl
. This will add a carriage return to the message preventing it being overwritten by the next message.not
be used with this type of message.