GNU bug report logs - #42963
sed clean my file

Previous Next

Package: sed;

Reported by: 杨公所 <hzgongsuo2012 <at> 163.com>

Date: Fri, 21 Aug 2020 04:30:03 UTC

Severity: normal

To reply to this bug, email your comments to 42963 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#42963; Package sed. (Fri, 21 Aug 2020 04:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to 杨公所 <hzgongsuo2012 <at> 163.com>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Fri, 21 Aug 2020 04:30:03 GMT) Full text and rfc822 format available.

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

From: 杨公所 <hzgongsuo2012 <at> 163.com>
To: bug-sed <at> gnu.org
Subject: sed clean my file
Date: Fri, 21 Aug 2020 11:48:44 +0800 (CST)
[Message part 1 (text/plain, inline)]
Dear sir:
 
          I exec sed -iBAK "s/bms_address=\".*\" server_name/bms_address=\"$LOCALADDR\" server_name/" myfile in my startup script , centos7, the script chkconfig --add;  but it often clean myfile


          I don't know why? Can you help me.


         best wishes to you. Look forward to your reply












sed (GNU sed) 4.2.2
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Written by Jay Fenlason, Tom Lord, Ken Pizzini,
and Paolo Bonzini.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-sed <at> gnu.org>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.




[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 129 days ago.

Previous Next


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