From owner-freebsd-questions Mon Oct 21 23:28:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DAA037B401 for ; Mon, 21 Oct 2002 23:28:58 -0700 (PDT) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CE3643E65 for ; Mon, 21 Oct 2002 23:28:57 -0700 (PDT) (envelope-from listsub@401.cx) Received: from 401.cx (malin.twenty4help.se [195.67.108.195]) by mailb.telia.com (8.12.5/8.12.5) with ESMTP id g9M6St5L006396; Tue, 22 Oct 2002 08:28:55 +0200 (CEST) X-Original-Recipient: questions@FreeBSD.ORG Message-ID: <3DB4F006.8020109@401.cx> Date: Tue, 22 Oct 2002 08:28:22 +0200 From: "Roger 'Rocky' Vetterberg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Bleichert Cc: Terry Cooper , questions@FreeBSD.ORG Subject: Re: FreeBSD bootable floppy Script NOT WORKING References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 John Bleichert wrote: *snip* > * EOM is not a command, it's an end-of-text marker, similar to the one > used in Perl. > > * There are text-file incompatibilities between Unix and DOS. If you're > copying/pasting the file from the website in Windows, ftp'ing it to a Unix > box and then trying to run it, all those extra linefeeds may cause > extremely bizzare errors. > > I hate to say it, but if you can only get the Internet on your winbox, you > should probably fire up vi (or whatever editor you like) and enter it > manally. Or run a dos2unix utility on the script on your Unix box to set > it up and clear out those linefeeds. A simple command like "perl -i.bak -npe 's/\r\n/\n/g' filename" will clear the linefeeds and even make a backup of the file. (It has never failed me, but you'll never know) -- R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message