bash Bible
A collection collected by the community of examples of scripts and algorithms in pure bash, for performing many routine processes and tasks.
Using fragments from this bible can help remove unnecessary dependencies from your scripts and in most cases make them faster.
🔻Working with strings:
▫trim the beginning and ending spaces from the string
▫trim all spaces from the string
▫use a regular expression for a string
▫split line by separator
▫change the string to lowercase
▫change the string to uppercase
▫reverse case of the string
▫cut quotes from a string
and much more...
🔻Working with arrays:
▫flip an array
▫delete duplicate array elements
▫random array element
▫loop through the array
and much more...
🔻Cycles
🔻File Processing
🔻Working with variables
🔻Conditional expressions
Arithmetic operators
and much more...