Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6350] New: make sedit use sed -i

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6350] New: make sedit use sed -i
  • Date: Sat, 13 Mar 2004 07:14:27 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=6350

Summary: make sedit use sed -i
Product: Sorcery
Version: Devel
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: subroutines
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: v.merkatz AT gmx.net


With the current implementation of sedit it wipes the file if the sed
expression
is wrong. I just lost my /etc/shells due to a bug in the zsh spell because of
this, so i decided to fix it.
sed has supported the -i option for quite some time now, so i replaced the
implementation of sedit with a sed -i call. Now it won't touch the file at all
if the expression is wrong, and it doesn't need temporary files anymore :)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 6350] New: make sedit use sed -i, bugzilla-daemon, 03/13/2004

Archive powered by MHonArc 2.6.24.

Top of Page