#!/usr/bin/env bash # Return the post title # # $1 the html file get_post_title() { #awk '/

/, /<\/a><\/h3>/{if (!/

/ && !/<\/a><\/h3>/) print}' "$1" head -1 "$1" }