It's been a long time since I used sed, but did you try using \r instead of
\n?

----- Original Message -----
From: SoloCDM <[EMAIL PROTECTED]>
To: Red Hat-List (redhat-list-request) <[EMAIL PROTECTED]>
Sent: Friday, June 23, 2000 8:04 am
Subject: Recognizing Newlines with Sed


I successfully used "cat <file> | tr -d '\n'" on a file that "sed
's/\n//g' <file>" failed to properly recognize.  I need sed to
effectively recognize newlines or ask that someone provide a perl
script that will.

Note: Detailed Document(s) and Sample(s) are more than welcome.
      When you reply to this message, please include
      the mailing list and my address.

*********************************************************************
Signed,
SoloCDM


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to