miller/docs/h1foo
2020-09-27 23:57:12 -04:00

12 lines
214 B
Bash
Executable file

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