diff options
author | rmax <rmax> | 2004-11-19 09:37:18 (GMT) |
---|---|---|
committer | rmax <rmax> | 2004-11-19 09:37:18 (GMT) |
commit | 410ca739ad19b27a082a84b39c18a042307a549f (patch) | |
tree | 48460b3b2ded75a00b3faa7eec81b818e3187b61 | |
parent | d3477b77fed103cbbc6f7117d432f05d9ddd0de1 (diff) | |
download | tcl-410ca739ad19b27a082a84b39c18a042307a549f.zip tcl-410ca739ad19b27a082a84b39c18a042307a549f.tar.gz tcl-410ca739ad19b27a082a84b39c18a042307a549f.tar.bz2 |
Classic sed doesn't support | in REs.core_8_4_8
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | unix/installManPage | 7 |
2 files changed, 10 insertions, 3 deletions
@@ -1,7 +1,11 @@ -2004-11-19 Daniel Steffen <das@users.sourceforge.net> +2004-11-19 Reinhard Max <max@suse.de> *** 8.4.8 TAGGED FOR RELEASE *** + * unix/installManPage: Classic sed doesn't support | in REs. + +2004-11-19 Daniel Steffen <das@users.sourceforge.net> + * macosx/Makefile: * unix/configure.in: * unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection diff --git a/unix/installManPage b/unix/installManPage index 4157d26..93fd925 100755 --- a/unix/installManPage +++ b/unix/installManPage @@ -25,10 +25,12 @@ test -z "$S" && S="$DIR/" # /^\\.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/,//g ;# Remove all commas ... +# s/\\\ //g ;# .. and backslash-escaped spaces. # s/ \\\-.*// ;# Delete from \- to the end of line # p ;# print the result # q ;# exit +# } # # Backslashes are trippled in the sed script, because it is in # backticks which don't pass backslashes literally. @@ -39,7 +41,8 @@ NAMES=`sed -n ' /^\\.SH NAME/{ s/^.*$// n - s/,\|\\\ //g + s/,//g + s/\\\ //g s/ \\\-.*// p q |