Solved

Binary file (standard input) matches

Posted on 2011-02-15
2
2,505 Views
Last Modified: 2012-05-11
Hi,

I currently run ubuntu through VB and after mounting windows drive/accessing files through gnome, I keep getting this message "Binary file (standard input) matches" when I try to run "grep -0 name"

Any idea what could be causing this?

Thank you!
0
Comment
Question by:faithless1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
Superdave earned 500 total points
ID: 34903451
There must be some non-text characters that make grep think it's not a text file.
You can use "grep -a" to insist that it is a text file.
Possibly it's Windows/MSDOS's carriage returns of end-of-file character that confuses it (although I don't that I've ever run into that myself).
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34904466
Hi,

what is "grep -0" supposed to do?

I'm aware of "grep --null" or "grep -Z" but never came across "-0"!

wmp
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question