From owner-freebsd-questions Mon Aug 28 12:29:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtpproxy1.mitre.org (mb-20-100.mitre.org [129.83.20.100]) by hub.freebsd.org (Postfix) with ESMTP id 8211037B423 for ; Mon, 28 Aug 2000 12:29:42 -0700 (PDT) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id PAA25990 for ; Mon, 28 Aug 2000 15:29:41 -0400 (EDT) Received: from mailsrv2.mitre.org (mailsrv2.mitre.org [129.83.221.17]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id PAA12936 for ; Mon, 28 Aug 2000 15:27:03 -0400 (EDT) Received: from mitre.org ([128.29.145.140]) by mailsrv2.mitre.org (Netscape Messaging Server 4.1) with ESMTP id G00OTE00.RDX; Mon, 28 Aug 2000 15:29:38 -0400 Message-ID: <39AABD9F.981547C9@mitre.org> Date: Mon, 28 Aug 2000 15:29:36 -0400 From: "Andresen,Jason R." Organization: The MITRE Corporation X-Mailer: Mozilla 4.73 [en]C-20000509M (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Claude Cormier Cc: igorr@crosswinds.net, freebsd-questions@FreeBSD.ORG Subject: Re: Newbie need help to execute a shell script References: <20000828134505.EBA6F1F17@static.unixfreak.org> <39AA719A.1F3B9E97@devises-or.com> <20000828182757.A21602@linux.rainbow> <39AA7B69.D231BA3C@devises-or.com> <20000828190308.A21842@linux.rainbow> <39AA96D1.2C478561@devises-or.com> <39AA9A88.E5D9F028@mitre.org> <39AAB3F7.BE83AFE0@devises-or.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Claude Cormier wrote: > > "Andresen,Jason R." wrote: > > > > > > Try this: > > display > sed 's/^V^M//' > display2 > > ./display2 > > > > ^V^M is (ctrl-V ctrl-M) (it will show up as ^M) > > Can't try this as "display" gives a "command not found" in the first > place. Thanks anyway. DOH! This'll teach me to proofread before I submit. I ment to say: sed 's/^V^M//' < display > display2 -- _ _ _ ___ ____ ___ ______________________________________ / \/ \ | ||_ _|| _ \|___| | Jason Andresen -- jandrese@mitre.org / /\/\ \ | | | | | |/ /|_|_ | Views expressed may not reflect those /_/ \_\|_| |_| |_|\_\|___| | of the Mitre Corporation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message