#! /bin/bash # Search word and bold it. ptn=$1 shift sed -e "s/$ptn/&/g" $*