On Nov 07, Paul A. Scott wrote:
> > How about echo abc | tr 'b' '\n' ?
> 
> tr substitutes characters only, while sed can work on arbitrary strings and
> patterns. My guess is that the example was a simplified expression of a more
> general requirement, in which case sed is appropriate and therefore,

        Yes, exactly.

        Thanks for the help!

        --Mat
-- 
Brain: Are you pondering what I'm pondering?
Pinky: I think so, Brain, but if the plural of mouse is mice, wouldn't
the plural of spouse be spice?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to