summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorrmax <rmax@noemail.net>2004-11-18 17:22:29 (GMT)
committerrmax <rmax@noemail.net>2004-11-18 17:22:29 (GMT)
commit4454295b1bfe7d350c46c2f6a3c4f6eaf2c1086a (patch)
tree88fb4b4a0af19425e692fc8f6ac7ba9a8cdce508 /unix
parentfacd5f43dd924876d3c8e623e9102337cf5f561e (diff)
downloadtk-4454295b1bfe7d350c46c2f6a3c4f6eaf2c1086a.zip
tk-4454295b1bfe7d350c46c2f6a3c4f6eaf2c1086a.tar.gz
tk-4454295b1bfe7d350c46c2f6a3c4f6eaf2c1086a.tar.bz2
Some versions of sed appear to need semicolons in front of comments.
FossilOrigin-Name: f7d2f7c6a572f1db6d2ba82aaf2574edb14e4a01
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`