Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jan 2002 10:22:21 -0600 (CST)
From:      Don Read <dread@texas.net>
To:        Doug Fee <doug.fee@unisys.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: SMBFS Unix to Windows End of Line Problem
Message-ID:  <XFMail.20020103102221.dread@texas.net>
In-Reply-To: <3C338EC8.D20C9A67@unisys.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02-Jan-2002 Doug Fee wrote:
> SMBFS works great, however, I do have a problem which I cannot figure
> out how to get around.  Text files in Unix terminates the line with just
> a linefeed whereas in Windows it terminates with a carriage return and
> linefeed.  So when I save a text file to a SMB share and my coworker
> looks at it with his Windows box, he sees one long record.  Is there a
> way to get the carriage return in and out of the file depending on where
> it is read/written to?
> 
> Any advise would be greatly appreciated.
> 


The old Windows apps 'Write' or 'wordpad' or whatever they're calling 
it now days will handle LF terminated files.

Regards,
-- 
Don Read                                       dread@texas.net
-- It is necessary for me to learn from others' mistakes. I 
   will not live long enough to make them all by myself.

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?XFMail.20020103102221.dread>