|
From: | Paul Eggert |
Subject: | bug#70699: Possible bug in /usr/bin/paste |
Date: | Wed, 1 May 2024 10:00:18 -0700 |
User-agent: | Mozilla Thunderbird |
On 2024-05-01 09:32, Art Shelest via GNU coreutils Bug Reports wrote:
Yes, this is the bug. Will you please fix it?
I don't see a bug here. In the POSIX world, CR is just another character and 'paste' is required to paste it like it would paste any other character.
As you mentioned, a simple way to fix it is to remove the CRs first, e.g., with the command "tr -d '\r'". In Bash:
paste <(tr -d '\r' letters.txt) <(tr -d '\r' numbers.txt)
[Prev in Thread] | Current Thread | [Next in Thread] |