#!/bin/sh for i in *.html do sed s/"h4>"/"h3>"/g $i > new/$i done