Difference between revisions of "Scripting"

From eLinux.org
Jump to: navigation, search
(bash books)
(review)
Line 25: Line 25:
 
** Сomplicated to use
 
** Сomplicated to use
 
* [http://code.google.com/p/bsfl/ bsfl - Bash Shell Function Library ]
 
* [http://code.google.com/p/bsfl/ bsfl - Bash Shell Function Library ]
 +
** 600 SLOC, 50 functions, logging functions, trivial wrappers
 +
** Easy to use
 
* [http://code.google.com/p/shesfw/ shesfw - Shell Script Framework tool]
 
* [http://code.google.com/p/shesfw/ shesfw - Shell Script Framework tool]
 +
** 200 SLOC, 20 functions
 +
** unified interface to kdialog, Xdialog, zenity
 
* [http://code.google.com/p/shunit2/ shUnit2 - xUnit based unit testing for Unix shell scripts]
 
* [http://code.google.com/p/shunit2/ shUnit2 - xUnit based unit testing for Unix shell scripts]
 
* [https://sites.google.com/a/forestent.com/projects/log4sh log4sh - logging facility]
 
* [https://sites.google.com/a/forestent.com/projects/log4sh log4sh - logging facility]

Revision as of 00:25, 22 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

See also