Friday, June 5, 2009

great null character

while file names contain newlines or other types of white spaces.
normally find/xargs is not work. turn to use following :

find . -type f -name "*html" -print0
| xargs -0 perl

really takes good care of your files

No comments: