Software
skarnet.org

execline

What is it ?

execline is a (non-interactive) scripting language, like sh ; but its syntax is quite different from a traditional shell syntax. The execlineb program is meant to be used as an interpreter for a text file; the other commands are essentially useful inside an execlineb script.

execline is as powerful as a shell: it features conditional loops, getopt-style option handling, filename globbing, and more. Meanwhile, its syntax is far more logic and predictable than the shell's syntax, and has no security issues.


Installation

Requirements

Licensing

execline is free software. It is available under the ISC license.

Download

Compilation

Upgrade notes


Special note

Before version 2.0.0.0, execline used the slashpackage convention by default. This is not the case anymore; nevertheless, the examples in this documentation still use #!/command/execlineb as their shebang line, and assume that the execline binaries are available in /command. Adapt them according to your installation: the shebang lines for your system might be something like #!/bin/execlineb, or #!/usr/bin/execlineb, or #!/usr/local/bin/execlineb, or something else entirely.


Reference

Commands

All these commands exit 111 if they encounter a temporary error, and 100 if they encounter a permanent error - such as a misuse.

(Script parser / launcher)

(Process state control)

(Basic block management)

(Variable management)

(Loops)

(Positional parameters and options management)

(Miscellaneous)

Provided scripts: example .profile replacement

Fun stuff

Related resources