groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] gpreconv on Windows fails with CRLF files


From: Anton Shepelev
Subject: Re: [Groff] gpreconv on Windows fails with CRLF files
Date: Sun, 5 Aug 2012 21:57:03 +0400

I wrote:

> Is it reasonable to modify gpreconv or its Windows
> port so that on Windows it will expect '\r\n'?

preconv(1) says:

    Trailing '-dos', '-unix', and '-mac' suffixes of
    coding  tags (which give the end-of-line conven-
    tion used in the file) are stripped  off  before
    the comparison with the above tags happens.

Why not pay heed to these suffixes instead of strip-
ping them and always assuming  '-unix',  and  assume
'-dos' on Windows?

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments



reply via email to

[Prev in Thread] Current Thread [Next in Thread]