aboutsummaryrefslogtreecommitdiff
path: root/gdb/munch
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-04-17 00:39:55 +0000
committerStu Grossman <grossman@cygnus>1993-04-17 00:39:55 +0000
commit04c6a64fdd57d6e32787243af0220eed10857189 (patch)
tree68235b8eafde6ea00e2a317c517600f44058a2fe /gdb/munch
parent14e3c2e47d94bc9eee44e8a5b7f8458a4dbae36d (diff)
downloadgdb-04c6a64fdd57d6e32787243af0220eed10857189.zip
gdb-04c6a64fdd57d6e32787243af0220eed10857189.tar.gz
gdb-04c6a64fdd57d6e32787243af0220eed10857189.tar.bz2
* munch: Don't use head command. It doesn't exist everywhere.
Diffstat (limited to 'gdb/munch')
-rwxr-xr-xgdb/munch2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/munch b/gdb/munch
index a3d7ad0..26405a8 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_.*' | \