aboutsummaryrefslogtreecommitdiff
path: root/termkey_waitkey.3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'termkey_waitkey.3.sh')
-rw-r--r--termkey_waitkey.3.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey_waitkey.3.sh b/termkey_waitkey.3.sh
index 5d66f94..1cdd871 100644
--- a/termkey_waitkey.3.sh
+++ b/termkey_waitkey.3.sh
@@ -29,7 +29,7 @@ No key events are ready and the terminal has been closed, so no more will arrive
The following example program prints details of every keypress until the user presses "Ctrl-C".
.PP
.in +4n
-`sed i.br demo.c`
+`while read LINE; do echo ".br"; echo "$LINE"; done <demo.c`
.in
.nf
.fi