#!/bin/sh for i in `cat try` do sed 's/ Search -/ Search<\/a> -/g' $i >> tmp mv tmp $i done