Sorry, I said RTFM with a smile :o)

On Fri, Sep 3, 2010 at 1:33 AM, Bryan Smith <[email protected]> wrote:

> RTFM
>
>        -n, --line-number
>               Prefix  each  line of output with the 1-based line number
> within
>               its input file.  (-n is specified by POSIX.)
>
>
> On Thu, Sep 2, 2010 at 11:49 PM, Mike <[email protected]> wrote:
>
>> I am using grep to search for strings in a block of code. The man page
>> for grep says that "By default, grep prints the matching lines". Yet
>> the system only tells me when there is a match; it doesn't print the
>> relevant lines. I searched this group and the web for "grep output"
>> and found nothing useful. How can I get grep to print out lines
>> containing a match?
>>
>> $ grep graphic gnuchess-5.0*
>> Binary file gnuchess-5.05.tar matches
>> Binary file gnuchess-5.06.tar matches
>> Binary file gnuchess-5.07.tar matches
>>
>> --
>> You received this message because you are subscribed to the Linux Users
>> Group.
>> To post a message, send email to [email protected]
>> To unsubscribe, send email to
>> [email protected]
>> For more options, visit our group at
>> http://groups.google.com/group/linuxusersgroup
>
>
>
>
> --
> A healthy diet  includes Linux, Linux, and more Linux.
>



-- 
A healthy diet  includes Linux, Linux, and more Linux.

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to