CVSROOT: /cvs Module name: src Changes by: mart...@cvs.openbsd.org 2018/04/26 06:18:54
Modified files: bin/ed : ed.1 io.c Log message: Make ed's 'l' command end lines with a '$' and make sure that literal '$' characters are escaped, so that we are POSIX compliant. The omission of trailing '$' was originally hidden behind a BACKWARDS flag. This flag was most likely introduced to be compatible with 4.4BSD. Thanks to naddy@ for pointing me to the 4.4BSD ed implementation. I tried to trace the origin and enabling of the BACKWARDS flag, since both FreeBSD and NetBSD have the flag, but only FreeBSD doesn't have it enabled. Both projects had an alm@ working on ed during 1993-1995 during which he added this flag to both projects and only enabled it on NetBSD, but I wasn't able to reach him on any known address. Thanks to Ed Schouten (ed@freebsd), and Michael W. Lucas of the ed Mastery book for helping me trying to locate Andrew Moore. Problem originally prodded by garzon.luc...@gmail.com and later independently re-requested by n.reu...@hxgn.net. OK tb@, guenther@, and m...@mwl.io