some function to curd txt-list-part for ymc shell lib
list=$(ls sh_modules) ; echo "$list" | sed "s/^ */- [x] /g"
list=$(ls sh_modules) ; echo "$list" | sed "s/^ */- [ ] /g"
- sh-lib-path-resolve.sh
- sh-lib-project-dir-map.sh
- sh-lib-load-lib.sh
- sh-lib-lang.sh
- sh-lib-gpg.sh
- sh-lib-ssh.sh
- sh-lib-path-resolve.sh
- sh-lib-project-dir-map.sh
- sh-lib-load-lib.sh
- sh-lib-lang.sh
- sh-lib-test.sh
- sh-lib-time-cost.sh
- sh-lib-gpg.sh
- sh-lib-lang.sh
- sh-lib-load-lib.sh
- sh-lib-path-resolve.sh
- sh-lib-project-dir-map.sh
- sh-lib-project-path-get.sh
- sh-lib-test.sh
- sh-lib-this-file.sh
- sh-lib-time-cost.sh
- sh-lib-txt-part.sh
- sh-lib-var-list.sh
- sh-lib-path-resolve.sh
- sh-lib-project-dir-map.sh
- sh-lib-load-lib.sh
- sh-lib-lang.sh
- txt_list_part_get
- txt_list_part_get2
- txt_list_part_del2
- txt_list_part_add3
- txt_list_part_del3
- txt_list_part_get3
cat src/index.sh | grep "function " | sed "s/function */- [x] /g" | sed "s/(.*) *{//g"
- basic curd txt_list_part
# get the code
# run the index file
# ./src/index.sh
# or import to your sh file
# source /path/to/the/index file
# simple usage
# get the code
# run test
# ./test/index.sh
#2 get some fail test
# ./test/index.sh | grep "it is false"
yemiancheng [email protected]
MIT