diff options
author | andreas_kupries <akupries@shaw.ca> | 2006-03-20 17:10:35 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2006-03-20 17:10:35 (GMT) |
commit | 80980dca38d5b7d2d0f238131b5c3f3bac7c2c32 (patch) | |
tree | 8076c7d5e184365311174ae833e0368e124dc33a | |
parent | 9a04cf49cff438cef40df6ed464bea81b3fc222f (diff) | |
download | tcl-80980dca38d5b7d2d0f238131b5c3f3bac7c2c32.zip tcl-80980dca38d5b7d2d0f238131b5c3f3bac7c2c32.tar.gz tcl-80980dca38d5b7d2d0f238131b5c3f3bac7c2c32.tar.bz2 |
* unix/installManPage: There is always one even more broken
"sed". Moved the # comment starting character in the sed script to
the beginning of their respective lines. The AIX sed will not
recognize them as comments otherwise :( The actual text stays
indented for better association with the commands they belong to.
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | unix/installManPage | 16 |
2 files changed, 16 insertions, 8 deletions
@@ -1,3 +1,11 @@ +2006-03-20 Andreas Kupries <andreask@activestate.com> + + * unix/installManPage: There is always one even more broken + "sed". Moved the # comment starting character in the sed script to + the beginning of their respective lines. The AIX sed will not + recognize them as comments otherwise :( The actual text stays + indented for better association with the commands they belong to. + 2006-03-20 Donal K. Fellows <donal.k.fellows@manchester.ac.uk> * tests/cmdAH.test, tests/fCmd.test, tests/unixFCmd.test: diff --git a/unix/installManPage b/unix/installManPage index fddbca7..993d097 100755 --- a/unix/installManPage +++ b/unix/installManPage @@ -26,19 +26,19 @@ test -z "$S" && S="$DIR/" # backticks which doesn't pass backslashes literally. # NAMES=`sed -n ' - # Look for a line, that starts with .SH NAME - # optionally allow NAME to be surrounded - # by quotes. +# Look for a line, that starts with .SH NAME +# optionally allow NAME to be surrounded +# by quotes. /^\.SH NAME/{ - # Read next line +# Read next line n - # Remove all commas ... +# Remove all commas ... s/,//g - # ... and backslash-escaped spaces. +# ... and backslash-escaped spaces. s/\\\ //g - # Delete from \- to the end of line +# Delete from \- to the end of line s/ \\\-.*// - # print the result and exit +# print the result and exit p;q }' $MANPAGE` |