Difference between revisions of "Scripting"
Line 7: | Line 7: | ||
* [http://dberkholz.com/2011/04/07/bash-shell-scripting-libraries/ List of Bash shell-scripting libraries] | * [http://dberkholz.com/2011/04/07/bash-shell-scripting-libraries/ List of Bash shell-scripting libraries] | ||
* [http://marcomaggi.github.io/docs/mbfl.html mbfl - Marco's Bash Functions Library] | * [http://marcomaggi.github.io/docs/mbfl.html mbfl - Marco's Bash Functions Library] | ||
+ | ** 5000 SLOC, 500 functions, bloated | ||
** The philosophy of MBFL is to do the work as much as possible without external commands. | ** The philosophy of MBFL is to do the work as much as possible without external commands. | ||
** Сomplicated to use | ** Сomplicated to use |
Revision as of 00:32, 18 December 2013
Scripting is powerful technology especially valuable in embbedded Linux. It is used for building complex projects, building root file systems and distributions, system management, tests automation.
Most commons shells are bash on PC and busybox's ash on embedded Linux.
Shell scripting libraries
- List of Bash shell-scripting libraries
- mbfl - Marco's Bash Functions Library
- 5000 SLOC, 500 functions, bloated
- The philosophy of MBFL is to do the work as much as possible without external commands.
- Сomplicated to use
- http://www.bashinator.org/
- Logging framework
- 700 SLOC, 18 functions
- Сomplicated to use
- bsfl - Bash Shell Function Library
- shesfw - Shell Script Framework tool
- shUnit2 - xUnit based unit testing for Unix shell scripts
- log4sh - logging facility
- libbash - tool for managing bash scripts
- bashworks
- rerun - a modular shell automation framework to organize your keeper scripts
- @ aka monkey-tail
- Some short functions
- Easy to use
Samples from books
Historical
See also