コードはベタベタかもだけど、意外と処理速度は悪くない、という事を伝えるテスト。 まれにgawk依存やbash依存が混じってるのはご愛嬌です、怒らないで下さい。
htmlinsert(): Localfile, /amazontext, does not exist. Localfile, /amazontext, does not exist. Wiki page, /amazontext, does not exist. を解いてみる