aboutsummaryrefslogtreecommitdiff
path: root/termkey_waitkey.3.sh
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-12-10 01:03:43 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-12-10 01:03:43 +0000
commit9f1e7b34ebfffadf295e3d0adaa19ebd13e01bdd (patch)
treeb661d34be50efddfd3554749308751a776fbaee1 /termkey_waitkey.3.sh
parent696c1455998a8282b23155449eda880aab157858 (diff)
downloadtermo-9f1e7b34ebfffadf295e3d0adaa19ebd13e01bdd.tar.gz
termo-9f1e7b34ebfffadf295e3d0adaa19ebd13e01bdd.tar.xz
termo-9f1e7b34ebfffadf295e3d0adaa19ebd13e01bdd.zip
Resort back to using GNU sed in .sh built manpages, as we only need them at 'make dist' time now; doesn't matter that BSD can't run them
Diffstat (limited to 'termkey_waitkey.3.sh')
-rw-r--r--termkey_waitkey.3.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/termkey_waitkey.3.sh b/termkey_waitkey.3.sh
index 1cdd871..7dda316 100644
--- a/termkey_waitkey.3.sh
+++ b/termkey_waitkey.3.sh
@@ -29,7 +29,9 @@ 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
-`while read LINE; do echo ".br"; echo "$LINE"; done <demo.c`
+EOF
+sed i.br demo.c
+cat <<EOF
.in
.nf
.fi