Message-ID: <3B744A1F.1B1E41A4@cyberoptics.com> From: Eric Rudd Organization: CyberOptics X-Mailer: Mozilla 4.72 [en] (Win95; U) X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: grep problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 Date: Fri, 10 Aug 2001 15:54:55 -0500 NNTP-Posting-Host: 38.196.93.9 X-Trace: client 997476896 38.196.93.9 (Fri, 10 Aug 2001 16:54:56 EDT) NNTP-Posting-Date: Fri, 10 Aug 2001 16:54:56 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm not sure whether this is a problem with gnu tools or a DJGPP port-related problem, but here goes: If I use grep v2.4 under Win95 like this grep "string" file it lists to the screen just fine. If I try to pipe it through "more" grep "string" file | more the DOS line terminators change to Unix line terminators, and the screen output is a mess. The same problem exists with file redirection; there it's fixable by using the sequence grep "string" file >tempfile utod tempfile more