FW: Question about carraige-return/line feed
Duncan Hill
dhill at sunbeach.net
Wed Jul 30 03:01:03 GMT 1997
On Wed, 30 Jul 1997, Mark Brazil - In Quest wrote:
> works well, in fact its very fast. There is only one problem. When files
> are created on it from Windows 95 you get a ^M character at the end of
> each line.
The simple solution is to make the print command a filtering script.
I have one somewhere that will turn CRLF into CR, but can't think for
the life of where..basically you need:
stripper < %s > %s.prt ; lp <options> %s.prt
Or something similar should work.
---
Duncan Hill
------------------------------------------------------------------------------
Cogito ergo sum
Email: dhill at sunbeach.net : dhill at bajan.org
http://www.bajan.org : http://www.cropover.com
------------------------------------------------------------------------------
More information about the samba
mailing list