Stanza is a grep replacement for Cisco configuration files. (Specifically tested with Cisco ASA configuration files). When a match is found, the entire surrounding stanza (if applicable) will be printed as context.
Usage
=====
stanza [options]
Options
=======
--file=FILE, -f FILE Specify an input filename (otherwise second arg, or
finally stdin)
--regexp=REGEXP, -e REGEXP
Specify a pattern string (otherwise we use the first
arg)
--case-insensitive, -i Be case case-insensitive
--line-number, -n Show line numbers
--help, -h Show this help message and exit.
Listing directory https://download.elifulkerson.com/files/stanza/0.1:stanza May 24 2018 14:42:14 7212 Python script, ASCII text executable
stanza.asc May 24 2018 14:42:24 801 GnuPG signature
stanza.md5 May 24 2018 14:42:24 41 MD5 checksum
stanza.sha1 May 24 2018 14:42:24 49 SHA1 checksum
stanza.sha256 May 24 2018 14:42:24 73 SHA256 checksum
stanza.sha512 May 24 2018 14:42:24 137 SHA512 checksum ↩ Browse the download server