sdiff calling editor fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diffutils |
Fix Released
|
Unknown
|
|||
diffutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
This bug was originally submitted on Debian (see lines below), and I can reproduce it on my Edgy system using diff 2.8.1-11ubuntu3.
*******
From: Jaap Eldering <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: sdiff calling editor fails
Date: Wed, 27 Jul 2005 19:59:16 +0200
Package: diff
Version: 2.8.1-11
Severity: important
when running sdiff in interactive mode (with -o option), it fails in the
end with the message "sdiff: subsidiary program `<editor>' failed" where <editor> is set by the EDITOR environment variable (or ed by default).
This seems to happen independently of the editor used (even /bin/true fails) and also with a version I compiled from GNU sources. The bug is not present in the woody version of sdiff (2.7).
Changed in diffutils: | |
status: | Unknown → Confirmed |
Changed in diffutils: | |
status: | New → Confirmed |
Changed in diffutils: | |
status: | Confirmed → Fix Released |
My EDITOR environment variable is not set, so sdiff tries to use 'ed' (which I've also got installed) and the message I'm getting after running:
sdiff -o diff.txt diff1.txt diff2.txt
and doing a merge is the following:
sdiff: subsidiary program `ed' failed
funnily enough, the merge seems to work regardless of the error message.