From owner-freebsd-questions Mon Aug 28 11:53:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cogito.cam.org (Cogito.CAM.ORG [198.168.100.2]) by hub.freebsd.org (Postfix) with ESMTP id 8018837B423 for ; Mon, 28 Aug 2000 11:53:31 -0700 (PDT) Received: from devises-or.com (USRH-5-18.HIP.CAM.ORG [204.19.188.18]) by cogito.cam.org (8.11.0/8.11.0.Beta1) with ESMTP id e7SIqDs03754; Mon, 28 Aug 2000 14:52:18 -0400 Message-ID: <39AAB3F7.BE83AFE0@devises-or.com> Date: Mon, 28 Aug 2000 14:48:23 -0400 From: Claude Cormier Organization: Ormetal Inc. X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en,fr MIME-Version: 1.0 To: "Andresen,Jason R." 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Andresen,Jason R." wrote: > > Claude Cormier wrote: > > > > Created on Win PC and uploaded it... Why? Is this a problem.. I've been > > doing this for all my PHP scripts which run fine in my browser... Is it > > different running from the shell? > > 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message