https://github.com/coderofsalvation/bash_builtin_skeleton
"hello world" skeleton for bash custom builtin-commands in C/C++
https://github.com/coderofsalvation/bash_builtin_skeleton
Last synced: 10 months ago
JSON representation
"hello world" skeleton for bash custom builtin-commands in C/C++
- Host: GitHub
- URL: https://github.com/coderofsalvation/bash_builtin_skeleton
- Owner: coderofsalvation
- License: mit
- Created: 2014-01-16T22:00:41.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-05-28T18:18:17.000Z (about 6 years ago)
- Last Synced: 2025-04-06T00:13:52.798Z (about 1 year ago)
- Language: C
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
bash_builtin_skeleton
=====================
"hello world" skeleton for bash custom builtin-commands in C/C++
### Test output
$ ./test
testing builtin 'hello'
(..1000 calls..)
real 0m0.022s
user 0m0.016s
sys 0m0.004s
testing standalone 'hello'
(..1000 calls..)
real 0m1.525s
user 0m0.092s
sys 0m0.244s
### What is it
Bash builtins enable you to extend bash with fast C/C++ commands, instead of relying on external programs only (=slow).
### Applications
Well you name it, games, utilities (heavy crunching), etc.
### Requirements
* You need the bash-builtin header files (on debianish distros: `apt-get install bash-builtins`)