Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    AWK?? Getting a string--Easy! for exp. linux dude!


    Hey,
    I would like to get a URL out of a file, but i only want the URL that is a video. This is identified by the line above it.
    File is like this:

    ++ Section One: Exclusive New Content!



    + (Video) A hidden camera prank involving a copier machine .
    http://www.ebaumsworld.com/newslette...pierprank.html

    + Want more women? I like David D's Dating Tips so much I'm spreading the word. Get them here!
    http://www.DoubleYourDating.com/17726/

    + (Video) Our favorite scene from Pulp Fiction dubbed over a scene from Dragonball Z.
    http://www.ebaumsworld.com/newslette...ulpdragon.html

    + (Video) This just in, the world is being rocked!
    http://www.ebaumsworld.com/newslette.../rockhard.html

    + (Video) For those of you who thought you'd never get to hear Metallica's Sandman on a ukulele, your dreams have come true!
    http://www.ebaumsworld.com/newslette...9/sandman.html

    + XM or SIRIUS SATELLITE RADIO with 1 Year of Service,
    FREE! Simply take our survey and complete the participation requirements.
    http://www.clickboothlnk.com/e/?enc=...0&land=0&pid=0
    All i want is the lines that are similer to this:

    + (Video) This just in, the world is being rocked!
    http://www.ebaumsworld.com/newslette.../rockhard.html
    The identifier of the URL being + (Video) And the URL being the line under it.
    I just want the URL line of videos.

    Help?
    Cheers,
    Nathan

  2. #2

Posting Permissions

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