Skip to content

YMC-GitHub/sh-lib-str-fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sh lib str-fun

desc

some function for handle str for ymc shell lib

feat

  • str_set
  • str_length
  • str_index_of
  • str_last_index_of
  • str_replace
  • str_split
  • str_char_at
  • str_charcode_at
  • str_unicode_at
  • str_from_charcode
  • str_from_unicode
  • str_match
  • str_slice
  • str_substring
  • str_substr
  • str_trim
  • str_eq
  • str_fill
cat src/index.sh | grep "function " | sed "s/function */- [x] /g"  | sed "s/() *{//g"

how to use for poduction?

# get the code

# run the index file
# ./index.sh

# or import to your sh file
# source /path/to/the/index file

# simple usage

how to use for developer?

# get the code

# run test
./test.sh
#2 get some fail test
#./test.sh | grep "it is false"

author

yemiancheng ymc.github@gmail.com

license

MIT

About

some function for handle str for ymc shell lib

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages