Skip to content

xseneque/bash-libs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bash-libs

Function Libraries for Bash 4.x. Most of them should be self explaining. The source code has more documentation with parameters, return codes and outputs.

lib-string.sh

  • string_char_at
  • string_ends_with
  • string_is_empty
  • string_length
  • string_ltrim
  • string_replace_all
  • string_replace_first
  • string_rtrim
  • string_starts_with
  • string_substring
  • string_to_lowercase
  • string_to_uppercase
  • string_trim

lib-array.sh

  • array_add_elements
  • array_contains_all
  • array_contains_one
  • array_create
  • array_print_entry
  • array_print_indices
  • array_print_size
  • array_reverse_sort
  • array_sort
  • array_sort_wfct (pass a function to specify the sorting logic)

About

Function Libraries for Bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages