Basic readme
This commit is contained in:
parent
01244e6ab1
commit
8777abda32
1 changed files with 32 additions and 2 deletions
34
README.md
34
README.md
|
|
@ -1,4 +1,34 @@
|
||||||
# lxsh
|
# lxsh
|
||||||
Extended shell linker
|
|
||||||
|
|
||||||
Work in progress
|
Extended shell linker for linking and generating shell code
|
||||||
|
|
||||||
|
# Features
|
||||||
|
|
||||||
|
## Command extensions
|
||||||
|
|
||||||
|
lxsh implements special linking commands that are resolved at linking.
|
||||||
|
These commands can be placed anywhere within the script like regular commands.
|
||||||
|
|
||||||
|
- `%include` : allows to insert file contents
|
||||||
|
- `%resolve` : allows to execute a shell command and insert its output
|
||||||
|
|
||||||
|
> See `lxsh --help-commands` for more details
|
||||||
|
|
||||||
|
## Other features
|
||||||
|
|
||||||
|
### Live execution
|
||||||
|
|
||||||
|
Execute an extended shell script directly with the `-e` option.
|
||||||
|
|
||||||
|
### Minimize code
|
||||||
|
|
||||||
|
Reduce code size to minimum without changing functionality with the `-m` option.
|
||||||
|
|
||||||
|
# Work in progress
|
||||||
|
|
||||||
|
lxsh should currently fully support POSIX syntax. <br>
|
||||||
|
A POSIX shell script should give a working output.
|
||||||
|
|
||||||
|
Some specific features are missing:
|
||||||
|
- link commands inside arithmetics (`$(())`) are not resolved
|
||||||
|
- link commands placed on the same line as keywords `if`, `then`, `elif`, `else`, `for`, `while`, `do` or `done` are not resolved
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue