Tcl Source Code

Check-in [9902ad7422]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Classic sed doesn't support | in REs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-4-8 | core-8-4-branch
Files: files | file ages | folders
SHA1: 9902ad74227b63e1b25baadde0997d3b1d46996d
User & Date: rmax 2004-11-19 09:37:18
Context
2004-11-22
22:48
* unix/configure: Regen. * unix/tcl.m4 (SC_ENABLE_THREADS): Check for a 2 argument version of rea...
check-in: 63b8c61faa user: mdejong tags: core-8-4-branch
2004-11-19
09:37
Classic sed doesn't support | in REs. check-in: 9902ad7422 user: rmax tags: core-8-4-8, core-8-4-branch
06:51
*** 8.4.8 TAGGED FOR RELEASE ***
check-in: 7c33c763a2 user: das tags: core-8-4-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.

1
2
3




4
5
6
7
8
9
10
2004-11-19  Daniel Steffen  <[email protected]>

	*** 8.4.8 TAGGED FOR RELEASE ***





	* macosx/Makefile: 
	* unix/configure.in: 
	* unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection
	of tcl framework build when determining tclLibPath from overloaded
	TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088]

|


>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
2004-11-19  Reinhard Max  <[email protected]>

	*** 8.4.8 TAGGED FOR RELEASE ***

	* unix/installManPage: Classic sed doesn't support | in REs.

2004-11-19  Daniel Steffen  <[email protected]>

	* macosx/Makefile: 
	* unix/configure.in: 
	* unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection
	of tcl framework build when determining tclLibPath from overloaded
	TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088]

Changes to unix/installManPage.

21
22
23
24
25
26
27
28

29
30
31

32
33
34
35
36
37
38
39
40
41

42
43
44
45
46
47
48
49
test -z "$S" && S="$DIR/"

# A sed script to parse the alternative names out of a man page.
#
#    /^\\.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             ;# exit

#
# Backslashes are trippled in the sed script, because it is in
# backticks which don't pass backslashes literally.
#
# Please keep the commented version above updated if you
# change anything to the script below.
NAMES=`sed -n '
    /^\\.SH NAME/{
	s/^.*$//
	n

	s/,\|\\\ //g
	s/ \\\-.*//
	p
	q
    }' $MANPAGE`

SECTION=`echo $MANPAGE | sed 's/.*\(.\)$/\1/'`
SRCDIR=`dirname $MANPAGE`






|
>



>










>
|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
test -z "$S" && S="$DIR/"

# A sed script to parse the alternative names out of a man page.
#
#    /^\\.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     ;# .. 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.
#
# Please keep the commented version above updated if you
# change anything to the script below.
NAMES=`sed -n '
    /^\\.SH NAME/{
	s/^.*$//
	n
	s/,//g
	s/\\\ //g
	s/ \\\-.*//
	p
	q
    }' $MANPAGE`

SECTION=`echo $MANPAGE | sed 's/.*\(.\)$/\1/'`
SRCDIR=`dirname $MANPAGE`