1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Beginner’s Guide to Grep

Discussion in 'Linux and Unix' started by lotuseclat79, Apr 3, 2010.

Thread Status:
Not open for further replies.
Advertisement
  1. lotuseclat79

    lotuseclat79 Thread Starter

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Beginner’s Guide to Grep

    I prefer to use egrep, because you can search for multiple strings in one command, like:
    $ egrep 'string1|string2|...' <file> w/o the last "|..." which indicates multiple strings.

    -- Tom

    I think I fixed your link, Tom. Please let me know if not. LAN
    I am getting a "Page Not Found" error when I click it.
     
  2. Ent

    Ent Trusted Advisor

    Joined:
    Apr 11, 2009
    Messages:
    5,467
    First Name:
    Josiah
  3. LANMaster

    LANMaster Banned

    Joined:
    Jan 6, 2003
    Messages:
    55,854
    Thanks, Ent, ....... Tom, does he have the correct link? I will revise yours if that is the case. Please advise. LAN :)
     
  4. Triple6

    Triple6 Moderator

    Joined:
    Dec 26, 2002
    Messages:
    52,935
    First Name:
    Rob
    Is it correct now?
     
  5. LANMaster

    LANMaster Banned

    Joined:
    Jan 6, 2003
    Messages:
    55,854
    I don't know if the original one is, T6, but I'm on top of it.
    If Tom wants me to change the link I will, but I fixed the syntax so his original is an active hyperlink. (y)
     
  6. Triple6

    Triple6 Moderator

    Joined:
    Dec 26, 2002
    Messages:
    52,935
    First Name:
    Rob
    I had changed it earlier as well, it goes to page now, just not sure if it was the one he wanted. I'll let you fix it if its still not correct.
     
  7. lotuseclat79

    lotuseclat79 Thread Starter

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Hi Triple6 and LAN,

    The fix is now in raw http address format, and I usually use the TSG specified format for url hyperlinking at:
    BB Code List.

    Originally, the error was caused by my leaving out the ending ']' after the http address of the web page before the text "Beginner&#8217;s Guide to Grep" which is still not properly coded according the the BB Code List spec for url hyperlinking.

    Thanks,

    -- Tom
     
  8. Triple6

    Triple6 Moderator

    Joined:
    Dec 26, 2002
    Messages:
    52,935
    First Name:
    Rob
    Is it the way you want it now?
     
  9. lotuseclat79

    lotuseclat79 Thread Starter

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Hi Triple6,

    It appears to be as originally intended.

    Thanks to both you and LAN for persevering (it's a bit of a chore to describe it to others) when I could have just fixed it if the Moderators had the capability to re-grant permission to the OP to edit the post.

    -- Tom
     
  10. Ent

    Ent Trusted Advisor

    Joined:
    Apr 11, 2009
    Messages:
    5,467
    First Name:
    Josiah
    May I ask, in what way does this differ from what the insert link button would do?
    Beginner's guide to grep

    What advantage would there be in learning these?

    Thank you for the link by the way. I'm trying to learn as much Linuxy as I can before I finally install it.
     
  11. Triple6

    Triple6 Moderator

    Joined:
    Dec 26, 2002
    Messages:
    52,935
    First Name:
    Rob
    You can also add to your report the exact content/link/code you want to appear in the post as well :)
     
  12. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/914472

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice