FOERBICO/sb/scripts/move-author.awk

7 lines
146 B
Awk
Raw Permalink Normal View History

/^###_tmpAuthor_:/ {
linecontent = linecontent ORS $0
}
/^#staticSiteGenerator:/ {
$0 = $0 ORS "author:" linecontent
}
!/^###_tmpAuthor_:/