/sh-lib-stack-fun

some function for handle stack for ymc shell lib

Primary LanguageShellMIT LicenseMIT

sh lib stack-fun

desc

some function for handle stack for ymc shell lib

deps

  • sh-lib-arr

feat

  • stack
  • stack_push
  • stack_pop
  • stack_peek
  • stack_is_empty
  • stack_size
  • stack_clear
  • stack_print
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
./src/test.sh
#2 get some fail test
#./src/test.sh | grep "it is false"

author

yemiancheng ymc.github@gmail.com

license

MIT