From owner-freebsd-questions Wed Apr 3 12:43: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web20104.mail.yahoo.com (web20104.mail.yahoo.com [216.136.226.41]) by hub.freebsd.org (Postfix) with SMTP id F17D237B686 for ; Wed, 3 Apr 2002 12:40:56 -0800 (PST) Message-ID: <20020403204049.63482.qmail@web20104.mail.yahoo.com> Received: from [24.100.124.207] by web20104.mail.yahoo.com via HTTP; Wed, 03 Apr 2002 12:40:49 PST Date: Wed, 3 Apr 2002 12:40:49 -0800 (PST) From: ann kok Subject: special charaters (return key) To: questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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