On Aug 4, 2008, at 1:26 PM, Paul Schmehl wrote: > Are you sure it's grep that's broken? No, not entirely. :-) > pauls at utd65257# echo 'fee\nfi\nfoe\nfum' > fee\nfi\nfoe\nfum Your shell's built-in echo doesn't understand the C-style "\n"; try using printf command instead of echo. -- -Chuck