Package: ed
Version: 0.7-1
Severity: normal

Sometimes, when editing a file, ed will return a non 0 exit code usually 
(always?) 2.
The file will have been successfully written, however this confuses programs 
which  call ed.
I use ed as my preferred editor with the EDITOR and VISUAL environment 
variables.
Quite often I notice this behavior when ed is called by mutt, or reportbug.
Mutt for example will often report "error spawning /bin/ed" after ed exits.
yet the message will have been written fine.
Unfortunately I have not been able to determine any specific set of activities 
within ed itself which will cause it to exit with something other than 0,
yet still complete everything it was supposed to do successfully.
I have however reproduced the problem on both a Debian and a ubuntu system.


-- System Information:
Debian Release: lenny/sid
  APT prefers experimental
  APT policy: (1000, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ed depends on:
ii  libc6                         2.7-4      GNU C Library: Shared libraries

ed recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to