15 Categories, 145 Modules, 817 Test Cases.
Each module provides only one function which naming prefixed with l.
by default.
The function which naming suffixed with .p
should be used in pipeline. Like echo ' string ' | l.trim.p
.
The function which naming suffixed with .s
means in strict mode. It uses echo true/false
instead of return 0/1
to indicate "true" and "false".
Most Lobash modules support Bash 4.0+ except below modules.
- Arithmetic
- Array
- Color
- Condition
- end_with
- end_with.s
- has
- has.s
- has_not
- has_not.s
- if
- is_array
- is_array.s
- is_associative_array
- is_associative_array.s
- is_bash
- is_bash.s
- is_dir
- is_dir.s
- is_empty_dir
- is_executable
- is_executable.s
- is_executable_file
- is_executable_file.s
- is_exported
- is_falsy
- is_falsy.s
- is_file
- is_file.s
- is_float
- is_float.s
- is_function
- is_function.s
- is_gnu_sed
- is_integer
- is_integer.s
- is_link
- is_link.s
- is_number
- is_number.s
- is_readable
- is_readable.s
- is_truthy
- is_truthy.s
- is_tty_available
- is_tty_available.s
- is_ubuntu
- is_undefined
- is_writable
- is_writable.s
- not.s
- not.s.p
- start_with
- start_with.s
- str_include
- str_include.s
- Console
- Debug
- File
- Path
- Prompt
- String
- System
- Terminal
- Time
- Util
- Variable