Solved

Binary file (standard input) matches

Posted on 2011-02-15
2
2,496 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Utilizing an array to gracefully append to a list of EmailAddresses
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 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