[5019] in Athena Bugs

home help back first fref pref prev next nref lref last post

rt 6.4R: the shell or perhaps grep

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Fri Jun 1 05:39:34 1990

Date: Fri, 1 Jun 90 05:39:19 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: hoffmann@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU
In-Reply-To: bugs[5006]

   From: hoffmann@ATHENA.MIT.EDU (Ron M Hoffmann)
   Date: Wed, 30 May 90 20:41:42 EDT

   System name:		E40-008-8
   Type and version:	RTPC-ROMPC 6.4R
   Display type:		apa16

   What were you trying to do?

   I was trying to grep for the occurance of the character "*"
   in the output of a finger command.

   What's wrong:

   I got a segmentation violation error

   What should have happened:

   The lines with "*" in them should have been sent to standard out

   Please describe any relevant documentation references:

   Example:

   E40-008-8% f noc@noc | grep "*"
   Segmentation violation

     and

   E40-008-8% f noc@noc | grep \*
   Segmentation violation

  First of all, neither of the expressions you tried to pass to grep
is correct; you should have used one of the following:

   E40-008-8% f noc@noc | grep "\*"
   E40-008-8% f noc@noc | grep \\\*

  Second of all, this bug is fixed in release 7.0; the system release
notes list this in the list of bugs that are fixed, and you could have
checked by trying to run it on a 7.0 workstation.

  Now that we're in staff test, it would help us if you would check
bugs on a 7.0 machine before reporting them.  Thank you.

  jik


home help back first fref pref prev next nref lref last post