V5.94 ptx -i ignore-file doesn't appear to work
Graig McHendrie
graigm@sbcglobal.net
Sat Apr 8 13:39:00 GMT 2006
On receiving this message, Paul Eggert of the coreutils group suggested
I send this information to the cygwin mailing list, since he is using
the Linux version.
The message at the bottom shows my original report to Paul along with
his demonstration of ptx working as expected.
The message above that (immediately below), shows where I duplicated his
files and command line to produce output that is not as expected.
Graig
===========================================================
Paul - thanks for the very speedy response.
I copied my files [for backup] then used Windows copy-and-paste to
create files with your content. Here's a copy of my cygwin window,
showing I get different results with the same version of ptx:
-------------------------------------------
Graig@Graig_8250 ~
$ cd d:
Graig@Graig_8250 /cygdrive/d
$ cd graig/inventry
Graig@Graig_8250 /cygdrive/d/graig/inventry
$ cat if.txt
a
and
the
with
Graig@Graig_8250 /cygdrive/d/graig/inventry
$ cat MS_OS_clips.txt
a and the with hooboy
Graig@Graig_8250 /cygdrive/d/graig/inventry
$ ptx -i if.txt -r -f MS_OS_clips.txt
a and the with hooboy
a and the with hooboy
a and the with hooboy
a and the with hooboy
Graig@Graig_8250 /cygdrive/d/graig/inventry
$ ptx --version | sed 1q
ptx (GNU coreutils) 5.94
Graig@Graig_8250 /cygdrive/d/graig/inventry
$
----------------------------------------------
?????
Graig
Paul Eggert wrote:
> Graig McHendrie <graigm@sbcglobal.net> writes:
>>>> Using a command such as "ptx -i if.txt -r -f MS_OS_clips.txt >
>> out.txt", where "if.txt" is a file with one word to a line, such as:
>> a
>> and
>> the
>> with
>> produces permuted output that includes "a", "and", "the", and "with"
>> as key words.
>>>> Hmm, I don't observe this problem with coreutils 5.94:
>> $ cat if.txt
> a
> and
> the
> with
> $ cat MS_OS_clips.txt
> a and the with hooboy
> $ ptx -i if.txt -r -f MS_OS_clips.txt
> a and the with hooboy
> $ ptx --version | sed 1q
> ptx (GNU coreutils) 5.94
>>-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060408/cb7234fe/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list