Results 1 to 2 of 2

Thread: grep, only the instance of the word?

  1. #1
    Join Date
    Jan 2011
    Beans
    44

    grep, only the instance of the word?

    I am trying to run grep on my file, which has alot of unneccesary stuff, and i want to extract stuff like: g_file" g_type" and so on, but when i run egrep g.*" on the file, it just prints out every line with this instance. How do i stop grep from doing this, and just printing out the word?

  2. #2
    Join Date
    Feb 2008
    Location
    Pelican Bay Correctional
    Beans
    Hidden!

    Re: grep, only the instance of the word?

    What's a landing but a take off in reverse?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •