GNU bug report logs -
#74578
sed-bug
Previous Next
To reply to this bug, email your comments to 74578 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-sed <at> gnu.org
:
bug#74578
; Package
sed
.
(Thu, 28 Nov 2024 07:33:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
wu <wcg226043 <at> 126.com>
:
New bug report received and forwarded. Copy sent to
bug-sed <at> gnu.org
.
(Thu, 28 Nov 2024 07:33:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
[root <at> localhost ~]# cat demo.txt
[root <at> localhost ~]# sed -i '$a \test_fields\ntest_fields1' demo.txt
[root <at> localhost ~]# cat demo.txt
[root <at> localhost ~]# echo "" >> demo.txt
[root <at> localhost ~]# sed -i '$a \test_fields\ntest_fields1' demo.txt
[root <at> localhost ~]# cat demo.txt
est_fields
test_fields1
[root <at> localhost ~]#
There must be one line of content in the file, even if it is an empty line, content can be added
Cannot add content to an empty file using the sed command
[Message part 2 (text/html, inline)]
[image.png (image/png, inline)]
This bug report was last modified 198 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.