Difference between revisions of "Scripting"

From eLinux.org
Jump to: navigation, search
Line 14: Line 14:
  
 
===Shell scripting libraries===
 
===Shell scripting libraries===
 +
* [http://intuitive.com/wicked/wicked-cool-shell-script-library.shtml Wicked Cool Shell Scripts, 2004, samples]
 +
** Indeed cool shell scripts, worth to read
 +
** 4000 SLOC, 100 files-functions
 +
** Easy to use
  
 
* [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]
Line 39: Line 43:
 
* [https://github.com/lmartinking/monkey-tail @ aka monkey-tail]
 
* [https://github.com/lmartinking/monkey-tail @ aka monkey-tail]
 
** 300 SLOC, 20 functions, simple wrapper functions
 
** 300 SLOC, 20 functions, simple wrapper functions
 +
** Easy to use
 +
* [https://github.com/makelinux/lib lib.sh]
 +
** 300 SLOC, 40 functions and aliases
 
** Easy to use
 
** Easy to use
 
====Samples from books====
 
====Samples from books====
Line 44: Line 51:
 
* [http://examples.oreilly.com/9780596526788/ Bash Cookbook, 2007], 99 files  
 
* [http://examples.oreilly.com/9780596526788/ Bash Cookbook, 2007], 99 files  
 
* [http://examples.oreilly.com/9780596005955/ Classic Shell Scripting, 2005]. 82 files
 
* [http://examples.oreilly.com/9780596005955/ Classic Shell Scripting, 2005]. 82 files
* [http://intuitive.com/wicked/wicked-cool-shell-script-library.shtml Wicked Cool Shell Scripts, 2004, samples]
 
** 4000 SLOC, 100 files-functions
 
** Easy to use
 
  
 
====Historical====
 
====Historical====

Revision as of 15:09, 29 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

Shell scripting libraries

Samples from books

Historical

References

See also