GNU bug report logs - #74577
bug-about-sed

Previous Next

Package: sed;

Reported by: "820648178" <820648178 <at> qq.com>

Date: Thu, 28 Nov 2024 07:32:01 UTC

Severity: normal

To reply to this bug, email your comments to 74577 AT debbugs.gnu.org.

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-sed <at> gnu.org:
bug#74577; Package sed. (Thu, 28 Nov 2024 07:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "820648178" <820648178 <at> qq.com>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Thu, 28 Nov 2024 07:32:01 GMT) Full text and rfc822 format available.

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

From: "820648178" <820648178 <at> qq.com>
To: "bug-sed" <bug-sed <at> gnu.org>
Subject: bug-about-sed
Date: Thu, 28 Nov 2024 15:06:54 +0800
[Message part 1 (text/plain, inline)]
&nbsp; When using the command&nbsp;sed -i "$a\anon" /opt/passwd&nbsp;to add content to an empty file, the content addition fails. I found that the&nbsp;sed&nbsp;command requires the file to have at least one line, even if it's a blank line, in order to execute. I consider this a bug. Can it be fixed?
[Message part 2 (text/html, inline)]

This bug report was last modified 197 days ago.

Previous Next


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