bug-sed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#74577: bug-about-sed


From: 820648178
Subject: bug#74577: bug-about-sed
Date: Thu, 28 Nov 2024 15:06:54 +0800

  When using the command sed -i "$a\anon" /opt/passwd to add 
content to an empty file, the content addition fails. I found that 
the sed 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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]