From: Stu Grossman Date: Sat, 17 Apr 1993 00:39:55 +0000 (+0000) Subject: * munch: Don't use head command. It doesn't exist everywhere. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04c6a64fdd57d6e32787243af0220eed10857189;p=binutils-gdb.git * munch: Don't use head command. It doesn't exist everywhere. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 622d18ea83c..a8f22ac6517 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 16 17:38:33 1993 Stu Grossman (grossman@cygnus.com) + + * munch: Don't use head command. It doesn't exist everywhere. + Fri Apr 16 15:07:57 1993 Fred Fish (fnf@cygnus.com) * inflow.c (new_tty): Remove spurious 'o' character at end diff --git a/gdb/munch b/gdb/munch index a3d7ad0e4fb..26405a8d7ca 100755 --- a/gdb/munch +++ b/gdb/munch @@ -23,7 +23,7 @@ if test "`$MUNCH_NM main.o | egrep main | egrep FUNC | egrep GLOB`" != "" ; then 's/^.*\(_initialize_[a-zA-Z0-9_]*\).*$/ {extern void \1 (); \1 ();}/'\ | sort -u elif test "`$MUNCH_NM main.o | egrep '[TD] *_?main$'`" = "" ; then - if test "`$MUNCH_NM main.o | head -6 | egrep 'Subspace$'`" != "" ; then + if test "`$MUNCH_NM main.o | egrep 'Type Subspace'`" != "" ; then # HP PA RISC compilers don't prepend underscores shift; $MUNCH_NM $* | egrep '_initialize_.*' | \