https://github.com/ymc-github/sh-lib-num-base-bc
some function to handle the convertion of system of numeration for ymc shell lib
https://github.com/ymc-github/sh-lib-num-base-bc
base bc num ymc
Last synced: 3 months ago
JSON representation
some function to handle the convertion of system of numeration for ymc shell lib
- Host: GitHub
- URL: https://github.com/ymc-github/sh-lib-num-base-bc
- Owner: YMC-GitHub
- License: mit
- Created: 2020-06-05T03:01:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T08:02:59.000Z (almost 5 years ago)
- Last Synced: 2025-01-07T23:44:25.091Z (5 months ago)
- Topics: base, bc, num, ymc
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sh lib num-base-bc
## desc
some function to handle the convertion of system of numeration for ymc shell lib
## deps
- [ ] sh-lib-arr
- [ ] sh-lib-stack
- [x] sh-lib-time-cost## feat
- [x] num_base_bc_10_to_xx
- [x] num_base_bc_2_to_10```sh
cat src/index.with.str.sh | grep "function " | sed "s/function */- [x] /g" | sed "s/(){//g"
```## how to use for poduction?
```sh
# 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?
```sh
# get the code# run test
./src/test.sh
#2 get some fail test
#./src/test.sh | grep "it is false"
```## author
yemiancheng
## license
MIT