DTRT with underscores
This commit is contained in:
parent
49db93fa54
commit
22702e6911
|
@ -34,8 +34,8 @@
|
|||
# @(#)makewhatis.sed 5.5 (Berkeley) 4/17/91
|
||||
#
|
||||
|
||||
/^[a-zA-Z][a-zA-Z0-9]*(\([a-zA-Z0-9]*\).*/ {
|
||||
s;^[a-zA-Z0-9]*(\([a-zA-Z0-9]*\).*;\1;
|
||||
/^[a-zA-Z_][a-zA-Z_0-9]*(\([a-zA-Z_0-9]*\).*/ {
|
||||
s;^[a-zA-Z_0-9]*(\([a-zA-Z_0-9]*\).*;\1;
|
||||
h
|
||||
d
|
||||
}
|
||||
|
@ -58,7 +58,7 @@
|
|||
/-/!d
|
||||
s;.;;g
|
||||
s;\([a-z][A-z]\)-[ ][ ]*;\1;
|
||||
s;\([a-zA-Z0-9,]\)[ ][ ]*;\1 ;g
|
||||
s;[^a-zA-Z0-9]*\([a-zA-Z0-9]*\)[^a-zA-Z0-9]*\(.*\) - \(.*\);\2 (\1) - \3;
|
||||
s;\([a-zA-Z_0-9,]\)[ ][ ]*;\1 ;g
|
||||
s;[^a-zA-Z_0-9]*\([a-zA-Z_0-9]*\)[^a-zA-Z_0-9]*\(.*\) - \(.*\);\2 (\1) - \3;
|
||||
p
|
||||
q
|
||||
|
|
Loading…
Reference in New Issue