Thread View: linux.redhat.misc
3 messages
3 total messages
Started by Paul Taylor
Fri, 28 May 1999 00:00
RH6.0 (Intel) and grep problem
Author: Paul Taylor
Date: Fri, 28 May 1999 00:00
Date: Fri, 28 May 1999 00:00
11 lines
1302 bytes
1302 bytes
I've just installed RedHat 6.0 on my Intel and Sparc boxes, but have noticed a problem with grep/fgrep/egrep on the Intel version. Instead of returning the matching strings, it just returns the message "binary file <blah> matches" when a match is found. The Sparc version works as expected. Has anyone else noticed this? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Paul Taylor Veni, vidi, tici - birder@ozemail.com.au I came, I saw, I ticked.
Re: RH6.0 (Intel) and grep problem
Author: Peter Marks
Date: Sat, 29 May 1999 00:00
Date: Sat, 29 May 1999 00:00
20 lines
1465 bytes
1465 bytes
Mine does the same thing *if* the file that contains the matching string is a binary and not text file. I guess it's a feature to not trash your screen with a "line" from the binary file. peter Paul Taylor wrote in message <374E739F.93305ADD@ozemail.com.au>... >I've just installed RedHat 6.0 on my Intel and Sparc boxes, but have >noticed a problem with grep/fgrep/egrep on the Intel version. Instead >of returning the matching strings, it just returns the message "binary file ><blah> matches" when a match is found. The Sparc version works as >expected. > >Has anyone else noticed this? > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Paul Taylor Veni, vidi, tici - > birder@ozemail.com.au I came, I saw, I ticked.
Re: RH6.0 (Intel) and grep problem
Author: Paul Taylor
Date: Sat, 29 May 1999 00:00
Date: Sat, 29 May 1999 00:00
26 lines
2019 bytes
2019 bytes
Peter Marks wrote: > Paul Taylor wrote in message <374E739F.93305ADD@ozemail.com.au>... > >I've just installed RedHat 6.0 on my Intel and Sparc boxes, but have > >noticed a problem with grep/fgrep/egrep on the Intel version. Instead > >of returning the matching strings, it just returns the message "binary file > ><blah> matches" when a match is found. The Sparc version works as > >expected. > > > >Has anyone else noticed this? > > Mine does the same thing *if* the file that contains the matching string is > a binary and not text file. > > I guess it's a feature to not trash your screen with a "line" from the > binary file. This would be fine if the file was binary, but it isn't. :) The Sparc version of RedHat 6.0 happy processes the same file with the same parameters as does Solaris. I'm pretty sure that the Intel version of RedHat 5.2 was happy with it too, as I only noticed the problem after upgrading a couple of days ago. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Paul Taylor Veni, vidi, tici - birder@ozemail.com.au I came, I saw, I ticked.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads