miller/docs6/h1foo
2021-05-24 00:11:53 -04:00

12 lines
214 B
Bash
Executable file

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