miller/docs6/docs/h1foo

12 lines
214 B
Bash
Executable file

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