miller/docs6b/docs/h2foo
John Kerl ab84ecd561 First pass at converting Miller 6 docs from Sphinx to Mkdocs (#616)
* Accept more passing emit cases

* Port docs from sphinx to mkdocs

* iterating

* rephrase internal-link syntax using mkdocs

* iterating
2021-08-12 13:41:04 -03:00

12 lines
214 B
Bash
Executable file

#!/bin/bash
awk '{
if ($0 ~ /.*<h2>.*/) {
sub(/<h2>/, "");
sub(/<\/h2>/, "");
print;
print "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^";
} else {
print $0
}
}' "$@"