Thanks, that's what I needed. And I looked up those options. x excludes matches, the f's are because they're both files, and c clears the file before writing. smile