in message <458EDE70.4050008 at u.washington.edu>, wrote Garrett Cooper thusly... > cat file.html | sed -e "s|http://www.domain.com||g" ... Not really a need for cat(1), just use input redirection ... sed -e '...' < file - Parv --