GNU bug report logs - #76255
cat: error without arguments

Previous Next

Package: coreutils;

Reported by: lilydjwg <lilydjwg <at> gmail.com>

Date: Thu, 13 Feb 2025 08:01:01 UTC

Severity: normal

Merged with 76256, 76257

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 76255 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: 76255 <at> debbugs.gnu.org
Subject: Re: bug#76255: cat: error without arguments
Date: Tue, 1 Jul 2025 23:47:36 +0100
[Message part 1 (text/plain, inline)]
On 15/02/2025 06:22, Paul Eggert wrote:
> On 2025-02-12 22:45, lilydjwg wrote:
>> cat: -: input file is output file
> 
> Thanks for the bug report. The symptoms you observe are a bug in 'cat'.
> I also see a bug in Gawk which I reported to the Gawk maintainer
> <https://lists.gnu.org/r/bug-gawk/2025-02/msg00003.html>. I don't see a
> bug in zsh or fish but perhaps I'm missing something.
> 
> To fix the 'cat' bug I installed the attached patch into bleeding-edge
> Coreutils on Savannah, and something like this patch should appear in
> the next release.

From my TODO list, attached is a test case for this issue.
I'll push this tomorrow some time.

cheers,
Pádraig
[test-cat-self-tty-append.patch (text/x-patch, attachment)]

This bug report was last modified 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.