summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorrmax <rmax>2004-11-18 17:21:12 (GMT)
committerrmax <rmax>2004-11-18 17:21:12 (GMT)
commit13e2a10a96869c0e23886729355fbf94e28eef07 (patch)
tree8a54276983e9bea8a97b27ed4581477431e3a3df /unix
parent58e52a381b72e19747a40c5f57d4495a3090002b (diff)
downloadtcl-13e2a10a96869c0e23886729355fbf94e28eef07.zip
tcl-13e2a10a96869c0e23886729355fbf94e28eef07.tar.gz
tcl-13e2a10a96869c0e23886729355fbf94e28eef07.tar.bz2
Some versions of sed appear to need semicolons in front of comments.
Diffstat (limited to 'unix')
-rwxr-xr-xunix/installManPage12
1 files changed, 6 insertions, 6 deletions
diff --git a/unix/installManPage b/unix/installManPage
index 16cf005..8045423 100755
--- a/unix/installManPage
+++ b/unix/installManPage
@@ -23,12 +23,12 @@ test -z "$S" && S="$DIR/"
# Backslashes are trippled in the sed script, because it is in backticks
# which don't pass backslashes literally.
NAMES=`sed -n '
- /^\\.SH NAME/{ # Look for a line, that starts with .SH NAME
- s/^.*$// # Delete the content of this line from the buffer
- n # Read next line
- s/,\|\\\ //g # Remove all commas
- s/ \\\-.*// # Delete from \- to the end of line
- p # print the result
+ /^\\.SH NAME/{ ;# Look for a line, that starts with .SH NAME
+ s/^.*$// ;# Delete the content of this line from the buffer
+ n ;# Read next line
+ s/,\|\\\ //g ;# Remove all commas
+ s/ \\\-.*// ;# Delete from \- to the end of line
+ p ;# print the result
q
}' $MANPAGE`