Skip to content

Noah2610/util.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

util.sh

Bash utility functions. Primarily for my personal use.

Installation

Manually

The easiest way to use my util.sh script is to simply download the util.sh script directly
and source it yourself from within your bash script.

Using download-util.sh

If you want to make things slightly more complicated fun for yourself,
you can also download the provided download-util.sh script
and run that from within your script to download the newest version of util.sh.
download-util.sh attempts to download util.sh using curl.
It will never overwrite an existing file.

Using the bootstrap

To quickly copy/paste the often-similar boilerplate code for using util.sh,
I have provided the bootstrap.sh file.
The file is quite self-explanatory, once you look inside.
It provides some boilerplate code, which downloads util.sh (using download-util.sh),
unless the util.sh file already exists, and sources the file.

Documentation

Documentation for available utility functions is available at DOCS.md.

About

Common bash utility functions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages