Subject: ed: Use upstream "red" script rather than link Package: ed Version: 1.6-2 Severity: normal
Dear Maintainer, With the upstream change from v1.4 to v1.5, ed(1) no longer recognizes "red" as a name under which restricted mode will be invoked. $ echo hello > example.txt $ # errant behavior $ red example.txt 6 e /etc/passwd 4210 !pwd /home/tim ! q $ # correct behavior that should also happen with "red" $ ed -r example.txt 6 e /etc/passwd ? !pwd ? q As a workaround, "ed -r" can be used instead. Prior to ed(1) v1.5, the symbolic link sufficed. However, since v1.5, it's now a shell-script that is provided as part of the build process. http://download.savannah.gnu.org/releases/ed/ If including v1.5 or later, the solution is to use the "red" shell-script from the upstream package build rather than using a symlink. -Tim -- System Information: Debian Release: 7.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ed depends on: ii dpkg 1.16.15 ii install-info 4.13a.dfsg.1-10 ii libc6 2.13-38+deb7u6 ed recommends no packages. ed suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org