[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31472: tsort reporting false loop in input. unix2dos fixes the probl
From: |
Assaf Gordon |
Subject: |
bug#31472: tsort reporting false loop in input. unix2dos fixes the problem. |
Date: |
Mon, 29 Oct 2018 21:25:29 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
tags 31472 notabug
close 31472
stop
Hello,
On 2018-05-16 10:16 a.m., Bernhard Voelker wrote:
This replaces "\n" by "\r\n", and of course changes the way tsort
works. If your suspicion was that the file has Windows-style
line-endings, then you would have had to use 'dos2unix'.
On 2018-05-17 2:54 a.m., Ivan Ivanov wrote:
Beyond the CRLF problem, I found that the result, returned by tsort on
the file with dos line endings had duplicates. So it is totally
incorrect.
The conclusion of the thread is that dos/windows/mac line endings
will affect "tsort" (as expected - since tsort treats them as normal
characters which change the sorted string).
As such, I'm closing this bug.
Discussion can continue by replying to this thread.
-assaf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#31472: tsort reporting false loop in input. unix2dos fixes the problem.,
Assaf Gordon <=