bug-coreutils
[Top][All Lists]
Advanced

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

Problem with -i ignore-file option in version 6.9 ptx in cygwin environm


From: Graig
Subject: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment
Date: Wed, 5 Sep 2007 10:45:41 -0700 (PDT)

Hi -

I've found that the only way that ptx will correctly use the contents of the 
ignore-file is if that file is formatted in the Unix style with just an octal 
012 (LF) between lines.  If it is formated in the DOS style with octal 015 (CR) 
and 012 (LF) between lines, the results are as though the ignore-file wasn't 
specified at all.

Attached is a small zip file that demonstrates the problem.  The contents are:
SplForPtx.txt     - sample input for the ptx command
ptx_ignore.w.txt  - an ignore-file formatted in dos mode
ptx_ignore.u.txt  - an ignore-file formatted in unix mode
MakeSplPtx.bat    - a script that will create output using the two different
                      ignore files
ShopTips.w.ptx    - output when using the dos formatted ignore-file
ShopTips.u.ptx    - output when using the unix formatted ignore-file


Graig McHendrie





reply via email to

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