#!/bin/sh for i in $* do sed 's+HREF="http://physionet.org+HREF="+g' <$i >$i+ mv $i+ $i done