Contents
Shell Parser
Description
The Shell parser allows you to have shell/bash code rendered nicely inside Moin's code blocks. It is based on java parser.
Download & Release Notes
Download |
Release Version |
Moin Version |
Release Notes |
0.1 |
1.8 |
I've forgot remove some java specific words |
|
0.2 |
1.8 |
Cleanup: add shell builtin commands instead of lesft java reserved words. |
Installation
For general installation instructions, see ParserMarket/InstallingParsers. This parser requires no special dependencies, such as outside Python libraries. Important: I've tested it on my own moin installation inside python2.5/site-packages/MoinMoin/parser as text_shell.py. But as described at install instruction you change filename to shell.py.
Usage
To use this parser, simply put #!shell after the beginning of the code block.
Example
{{{#!shell hello= "Hello " world= "World!" echo -n ${hello} echo $world }}}
Copyright
Krzysztof Stryjek <wtps0n AT bsdserwis DOT com>.
License
This parser is released under the terms of the GNU GPL.