* munch: Don't use head command. It doesn't exist everywhere.
authorStu Grossman <grossman@cygnus>
Sat, 17 Apr 1993 00:39:55 +0000 (00:39 +0000)
committerStu Grossman <grossman@cygnus>
Sat, 17 Apr 1993 00:39:55 +0000 (00:39 +0000)
gdb/ChangeLog
gdb/munch

index 622d18ea83c7f48e8b34efb983c3489af8c66e82..a8f22ac6517e59c58c0e5f225eea732cf0a67664 100644 (file)
@@ -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
index a3d7ad0e4fb607ba7c74b2d2ed887c719d8f656d..26405a8d7caf3d52fd5ed773c99a235a3a39b6bf 100755 (executable)
--- 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_.*' | \
This page took 0.027782 seconds and 4 git commands to generate.