ed: Accept no address in k command - sbase - suckless unix tools
(HTM) git clone git://git.suckless.org/sbase
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 96b9a71acfa88f613980cfc39054577e0e63be47
(DIR) parent 284e154a278134f910ba54e9a0b7cfac1d6748fe
(HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Mon, 8 Dec 2025 18:03:44 +0100
ed: Accept no address in k command
Diffstat:
M tests/0009-ed.sh | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/tests/0009-ed.sh b/tests/0009-ed.sh
@@ -1,6 +1,7 @@
#!/bin/sh
ed -s /dev/null <<EOF | (read a && test $a == 1)
+../ed -s /dev/null <<EOF | (read a && test $a == 1)
a
1
2