Subject: Re: Help with Win -> NetBSD text files...
To: David Woyciesjes <DAW@yalepress3.unipress.yale.edu>
From: Eric Fox <eric@fox.phoenix.az.us>
List: netbsd-help
Date: 03/19/2001 20:01:03
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--0-252694001-985057263=:9623
Content-Type: TEXT/PLAIN; charset=US-ASCII
I end up working with a lot of HTML that originated on windoze
machines. In order to make life easier I usually process them with one of
these short scripts to add/remove the CRLF insanity depending on where I'm
moving the file. Hope this helps some.
/\---/\ Eric J Fox
/ o o \ http://fox.phoenix.az.us
\.\ /./ ---------------------------
\@/ "Of course it runs NetBSD."
On Mon, 19 Mar 2001, David Woyciesjes wrote:
> Simple question here, which I'll write down the answer, once I get it...
>
> Under Linux, you can use the command
> # mount -o conv=auto -t msdos /dev/fd0a /mnt
> which will automatically convert the CR-LF to a newline at the ends of lines
> in a text file.
>
> How can this be done for NetBSD? Or should I use some other program on
> Windoze, (other than Notepad or Wordpad) for editing files destined for my
> NetBSD system?
>
> The '^M' at the end of each line isn't bad when the file has only 10 lines
> or so, but gets *really* annoying with bigger files...
>
> --- David A Woyciesjes
> --- C & IS Support Specialist
> --- Yale University Press
> --- mailto:david.woyciesjes@yale.edu
> --- (203) 432-0953
> --- ICQ # - 905818
>
>
--0-252694001-985057263=:9623
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dedos
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.21.0103192001030.9623@star.fox.phoenix.az.us>
Content-Description:
Content-Disposition: attachment; filename=dedos
IyEvYmluL3NoDQoNCkNSTEY9YC91c3IvYmluL3ByaW50ZiAiXDAxNSJgDQpU
TVA9L3RtcC9kZWRvcy4kJA0KDQpjYXQgJDEgfCBzZWQgInMvJHtDUkxGfS8v
ZyIgPiRUTVANCmNhdCAkVE1QID4kMQ0Kcm0gLWYgJFRNUA0KDQo=
--0-252694001-985057263=:9623
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dodos
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.21.0103192001031.9623@star.fox.phoenix.az.us>
Content-Description:
Content-Disposition: attachment; filename=dodos
IyEvYmluL3NoDQoNCkNSTEY9YC91c3IvYmluL3ByaW50ZiAiXDAxNSJgDQpU
TVA9L3RtcC9kb2Rvcy4kJA0KDQpjYXQgJDEgfCBzZWQgInMvJC8ke0NSTEZ9
L2ciID4kVE1QDQpjYXQgJFRNUCA+JDENCnJtIC1mICRUTVANCg0K
--0-252694001-985057263=:9623--