File tree Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# ==HEADER==
4+ # Title : Bashmultitool example.sh
5+ # Description:
6+ # A basic example file to show use of library shown in output screenshot
7+ # Readme.md
8+ # URL: https://github.com/gavinlyonsrepo/bashmultitool
49
5- # name: Gavin Lyons
6- # Title : Bashmultitool
7- # Description: A Bash Shell library for commonly used functions
8- # can be imported into shell scripts to create functional and colorful
9- # scripts and Terminal users interfaces(TUI). This file is placeholder
10- # for library with meta data
11- # URL: https://github.com/gavinlyonsrepo/bashmultitool
12-
10+ # Source the library
1311LIBPATH=" /usr/lib/bashmultitool/"
1412for MYFILE in " $LIBPATH " * ;
1513do
1614 source " $MYFILE "
1715done
18-
19- # === GLOBAL VARIABLES SETUP ===
20-
21- # === FUNCTIONS===
22- # FUNCTION HEADER
23- # NAME :
24- # DESCRIPTION :
25- # INPUTS :
26- # PROCESS :
27- # OUTPUT :
28- # NOTES:
16+
2917function Display_Func
3018{
3119 bmtMiscFunc title 3 2 ' #' " Bashmultitool library Demo"
@@ -53,7 +41,7 @@ function Display_Func
5341 bmtTimeFunc progressbar 1 &
5442 pid=$!
5543 disown
56- sleep 25 # do stuff
44+ sleep 25 # do here stuff
5745 echo " "
5846 bmtPromptFunc eventstatus " Log File uploaded" " OK" b_green
5947 # Stop spin function with PID
You can’t perform that action at this time.
0 commit comments