dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit c1442e1af6c5076e2f305212aaa152c1f2b5829c
parent bd866992495869ffb8ec67decaca60223ee3df5d
Author: rsiddharth <s@ricketyspace.net>
Date:   Tue, 11 Sep 2018 00:59:53 +0000

usr: tball: Add parse_maxtb.

* usr/local/bin/tball (parse_maxtb): New function.

Diffstat:
usr/local/bin/tball | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/usr/local/bin/tball b/usr/local/bin/tball @@ -99,6 +99,16 @@ should_tb() { fi } +parse_maxtb() { + local MAX=$1 + + if [ -z $MAX ]; then + echo 10 + else + echo $MAX + fi +} + clean_ol_tbs() { local D=$1