Newsgroups: comp.os.msdos.djgpp From: design AT netcom DOT com (Chris Waters) Subject: Re: Grep'ing for % hangs my system Message-ID: Organization: Design and Delivery References: <541jvj$ovk AT news2 DOT delphi DOT com> Date: Wed, 16 Oct 1996 08:11:47 GMT Lines: 15 Sender: design AT netcom8 DOT netcom DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <541jvj$ovk AT news2 DOT delphi DOT com>, jrubin wrote: >Does anyone know why the command > grep % test.dat >hangs my system so badly control/alt/del is needed to recover? It's not hung; it's waiting for input. Pressing ^Z will get you out. >In case it matters, I use 4dos instead of command.com If this is at the command line, it does matter--in a batch file, command.com would display the same behavior. Use: grep %% test.dat