Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2002 12:40:49 -0800 (PST)
From:      ann kok <annkok2001@yahoo.com>
To:        questions@FreeBSD.ORG
Subject:   special charaters (return key)
Message-ID:  <20020403204049.63482.qmail@web20104.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all

how do type the special charater? ^M (return key)
I want to remove it on the file

eg [root@ann work1]# cat -v crt2.txt
test^M
a^M
b^M
c^M
d^M
e^M

sed 's/^M//g' crt1.txt

Thank you


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020403204049.63482.qmail>