Apply fix from zoo:

* munch:  Backslash escape vertical bar characters inside
	grep patterns since they have special meaning for some greps.
This commit is contained in:
Fred Fish 1992-11-25 15:53:01 +00:00
parent d1065385c1
commit b9b6dbc2ea
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Wed Nov 25 07:17:13 1992 Fred Fish (fnf@cygnus.com)
* munch: Backslash escape vertical bar characters inside
grep patterns since they have special meaning for some greps.
* parse.c (write_exp_string): Complete rewrite to store string
contants as a leading explicit length, followed by the string data,
followed by a trailing explicit length.

View File

@ -18,7 +18,7 @@ esac
MUNCH_NM="${MUNCH_NM-nm} $NMOPT"
if test "`$MUNCH_NM main.o | egrep main | egrep FUNC | egrep GLOB`" != "" ; then
# System V Release 4 style nm
$MUNCH_NM $* | egrep '|__?initialize_' | egrep FUNC | \
$MUNCH_NM $* | egrep '\|__?initialize_' | egrep FUNC | \
sed -e \
's/^.*\(_initialize_[a-zA-Z0-9_]*\).*$/ {extern void \1 (); \1 ();}/'\
| sort -u