GitXplorerGitXplorer
s

libshell

public
4 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
5b8fbc51be6429784e70051b7af4f15cfc830bc5

Fix memleaks due to un-freed markers stack, and invalid writes

ssebnow committed 14 years ago
Unverified
4dfb84f9d89992907fb55cfb1b38bce0c58f000b

Add support for command arguments

ssebnow committed 14 years ago
Unverified
7b87176388d05034ada66d5a52bf035c1da23972

Refactor marking and settings various variables

ssebnow committed 14 years ago
Unverified
c3f3d8e6d5e2442b91557164f74dc4d12d353ecb

Update number of planned tests for scanner

ssebnow committed 14 years ago
Unverified
c1e50448d9e5709bff1ea1f846948f4e86653212

Fix memleak and potential double free in tests

ssebnow committed 14 years ago
Unverified
454d1953721f8a3eb60a0d02479395e3cf788124

Add support for functions

ssebnow committed 14 years ago

README

The README file for this repository.

Shell Library

The intent of this library is to provide an IEEE Std 1003.1 compliant Shell parser. The library does not execute, nor interpret, Shell code. It merely parses tokens, delegating intepretation to the caller.

Requirements

This library depends on the following:

  • Glib >= 2.0

Installing

If the source code has been downloaded from the repository, the ./autogen.sh script needs to be run to bootstrap the build system. If downloaded from a distribution archive, this is not necessary.

The library is built using the typical UNIX procedure:

./configure
make
make install

For developers, the make check and make prove targets will also be useful. The latter compiles unit tests and runs the prove command (from the Test::Harness Perl module) providing a summary of the test results.

Documentation

Documentation is generated directly from the source code using Doxygen. In order to generate this documentation simply run doxygen in the build directory. It will create a "documentation" directory, which will contain all the documentation.

A copy of this documentation is not yet available on the world wide web.