You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
703 B
703 B
stanza
Like grep, but for delimited blocks of text
Usage: stanza [-h] [-1] [-d] [-m /r/] [-c /r/] [-f FILE] open close
Output lines based on complex criteria
positional arguments: open Regex to open the stanza start buffering on close Regex to close a stanza and output buffer
optional arguments: -h, --help show this help message and exit -1, --oneline Output each stanza on one line -d, --debug Debug -m /r/, --match /r/ Regex to indicate a valid/desired stanza to output -c /r/, --callback /r/ A callback to run for each stanza -f FILE, --file FILE File to operate on, defaults to stdin