commit c8194d7

wf  ·  2026-07-26 18:20:42 +0000 UTC
parent 21d344c
Revert "Inhibit backslash expansion on printing"

This has the unwanted side effect of not expanding
tabs, thus I will have to look for a better way to
make `print' ignore certain escape sequences...
1 files changed,  +2, -2
M ed
M ed
+2, -2
 1@@ -542,9 +542,9 @@ rprint() {
 2 	i=$s
 3 	while ((i <= e)); do
 4 		if [ "$cmd" = 'n' ]; then
 5-			print -r "$i\t${buffer[$((i - 1))]}"
 6+			print "$i\t${buffer[$((i - 1))]}"
 7 		else
 8-			print -r "${buffer[$((i - 1))]}"
 9+			print "${buffer[$((i - 1))]}"
10 		fi
11 		((i++))
12 	done