The Unix shell is generally fantastic, but working with files with spaces in the name is a nuisance. Tools think the spaces are delimiters and break up your filename. Ie, these don't work if you have a file named foo bar.tmp:
rm `ls | grep tmp`
ls | grep tmp | xargs rm
One option is to manipulate IFS. Another is xargs -0:
ls | grep tmp | tr '\012' '\000' | xargs -0 rm
This is particularly good with find -print0
tech
  2003-10-26 18:49 Z