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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76255 in the body.
You can then email your comments to 76255 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#76255; Package coreutils. (Thu, 13 Feb 2025 08:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to lilydjwg <lilydjwg <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 13 Feb 2025 08:01:02 GMT) Full text and rfc822 format available.

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

From: lilydjwg <lilydjwg <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: cat: error without arguments
Date: Thu, 13 Feb 2025 14:45:39 +0800
In the past I can run `cat` without any arguments and it prints
whatever I type at the terminal. However since 9.6, `cat` reports the
following error:

cat: -: input file is output file

-- 
Best regards,
lilydjwg




Merged 76255 76256 76257. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Fri, 14 Feb 2025 21:06:02 GMT) Full text and rfc822 format available.

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sat, 15 Feb 2025 06:23:02 GMT) Full text and rfc822 format available.

Notification sent to lilydjwg <lilydjwg <at> gmail.com>:
bug acknowledged by developer. (Sat, 15 Feb 2025 06:23:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: lilydjwg <lilydjwg <at> gmail.com>
Cc: 76255-done <at> debbugs.gnu.org
Subject: Re: bug#76255: cat: error without arguments
Date: Fri, 14 Feb 2025 22:22:02 -0800
[Message part 1 (text/plain, inline)]
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.
[0001-cat-fix-plain-cat-bug.patch (text/x-patch, attachment)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sat, 15 Feb 2025 06:23:03 GMT) Full text and rfc822 format available.

Notification sent to lilydjwg <lilydjwg <at> gmail.com>:
bug acknowledged by developer. (Sat, 15 Feb 2025 06:23:03 GMT) Full text and rfc822 format available.

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sat, 15 Feb 2025 06:23:03 GMT) Full text and rfc822 format available.

Notification sent to lilydjwg <lilydjwg <at> gmail.com>:
bug acknowledged by developer. (Sat, 15 Feb 2025 06:23:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 15 Mar 2025 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 96 days ago.

Previous Next


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