Date: Tue, 22 Oct 2002 08:28:22 +0200 From: "Roger 'Rocky' Vetterberg" <listsub@401.cx> To: John Bleichert <syborg@stny.rr.com> Cc: Terry Cooper <tcooper1@telusplanet.net>, questions@FreeBSD.ORG Subject: Re: FreeBSD bootable floppy Script NOT WORKING Message-ID: <3DB4F006.8020109@401.cx> References: <Pine.LNX.4.44.0210211633120.19721-100000@janeway.vonbek.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB4F006.8020109>