Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20021009002305.79648.qmail@web40514.mail.yahoo.com> Date: Tue, 8 Oct 2002 17:23:05 -0700 (PDT) From: Sheryl McKeown Reply-To: smckeown AT mac DOT com Subject: grep = * vs grep = * > foo To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hello, From the XP Pro command prompt, grepping for = (thru ini files) produces the expected lists. In the directory with the following files [C:\Development\test] .dir 8/23/2002 17:07 0 control.ini 9/13/2002 10:52 213 cr8demo.INI 8/13/1996 8:18 848 CTELSVR.INI 8/26/2002 11:15 165 Ctelwin.ini 8/23/2001 5:00 2 desktop.ini 4/24/1998 0:00 218 FRONTPG.INI 9/12/2002 16:31 169 hpbafd.ini 10/02/2002 9:57 871 INTELDAT.INI 6/05/1998 15:12 0 Isdbg.ini 9/11/2002 17:31 126 mdm.ini 10/02/2002 9:28 0 Migm30.INI 8/23/2001 5:00 1,405 msdfmap.ini 9/13/2002 10:54 32 People.INI 9/03/2002 10:00 0 PROTOCOL.INI 9/13/2002 10:34 52 PwInstall.in 8/26/2002 12:06 61 smscfg.ini 10/01/2002 11:08 993 SWDEPEND.INI 9/12/2002 9:20 231 system.ini 10/01/2002 10:12 32 Trace.INI 9/23/2002 11:39 1,015 win.ini 9/24/2002 10:15 50 Winamp.ini 9/24/2002 11:57 41 winampa.ini .grep = * CTELSVR.INI:PageTimeout=50 CTELSVR.INI:MaxBufferSize=256 CTELSVR.INI:LockRetry=10 CTELSVR.INI:CommitLockRetry=10 CTELSVR.INI:ReadAheadPages=0 CTELSVR.INI:Deleted=On CTELSVR.INI:QueryTimeout=120 CTELSVR.INI:LoginTimeout=20 CTELSVR.INI:ConnectionTimeout=0 CTELSVR.INI:UpdateRetries=7 CTELSVR.INI:OptimisticLocking=1 Ctelwin.ini:NetPath=\\IMS-MSSQL\CTLWIN\ Ctelwin.ini:LocalPath=C:\Program Files\Epicor\Clientele Local Files\ Ctelwin.ini:ProgramFolder=Epicor\Clientele 7.2 Ctelwin.ini:UserName= Ctelwin.ini:Password= cr8demo.INI:Maximize=No cr8demo.INI:XPos=100 cr8demo.INI:YPos=49 cr8demo.INI:Maximize=No cr8demo.INI:XPos=85 cr8demo.INI:YPos=56 cr8demo.INI:Maximize=No cr8demo.INI:XPos=44 cr8demo.INI:YPos=54 cr8demo.INI:Height=194 cr8demo.INI:Width=397 cr8demo.INI:ReportPathName= cr8demo.INI:Sectors=0 ... and so on But... grepping and redircting the output to a file causes a process loop that has to be killed 17:17 0 [C:\Development\test] .grep = * > delme 17:18 66048 [C:\Development\test] .^C What happens is that the grep starts reading the delme file and then reporting all those finds... Ok, but the odd part this is, this behavior doesn't appear when using the bash shell (on the same XP box). Thoughts or explanations? -Sheryl __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/