Definitions

from Wiktionary, Creative Commons Attribution/Share-Alike License

  • proper n. A program which selects lines in a file which match a given pattern.
  • v. To use a program such as grep to search in a file.
  • v. By extension, to search anything (perhaps a paper document by eye).

Etymologies

From an idiomatic command sequence in the qed and ed text editors: ‘g/re/p’, meaning: globally search for a regular expression and print. (Wiktionary)

Examples

  • I found a number of programs here on Code Project that emulated grep or called grep from the command line, but while intriguing, were not what I wanted.

    The Code Project Latest Articles

  • SCHEMA = "prd_schema" # Change this to your schema name grep "ORA -" $LOGFILE > $CURR if! diff $PREV $CURR then

    LXer Linux News

  • The following utilities return 0 upon success. echo touch mv cp mkdir rm hostname grep returns 0 if the pattern is found, 1 if not found, and 2 on error

    Baltiblogs

  • /etc/init. d call grep at least 77 times. awk is called 92 times, cut 23 and sed 74.

    planet.freedesktop.org

  • Track House And Senate Votes On Twitter (September 25th, 2008) alias grep = 'GREP_COLOR = "1; 37; 41" LANG = C grep -- color = auto' var selection; if (window. getSelection) selection = window. getSelection (); else if (document. selection) selection = document. selection.createRange (); document. observe ( "dblclick", function () );

    AlternateIdea - Home

  • - Review and comment on proposed bills before they are even introduced†"or while they are pendingâ€" in Congress. alias grep = 'GREP_COLOR = "1; 37; 41" LANG = C grep -- color = auto' var selection; if (window. getSelection) selection = window. getSelection (); else if (document. selection) selection = document. selection.createRange (); document. observe ( "dblclick", function () );

    AlternateIdea - Home

  • Hippix (Hippo Software; consult file pub/hippo/press. txt, available via anonymous ftp from morgan. cs.utah.edu, for more information) provides a set of low cost Unix-like command utilities (such as grep, awk, sh, and vi) along with a POSIX programming library.

    OS/2 Frequently Asked Questions List by Timothy F. Sipples

  • After that, I changed my approach to the one on line #78: I pipe the address into "grep" and use the content of $DENY_DB as the list of regular expressions to check against that string.

    Linux Gazette

  • However, there's a larger problem here: you don't need to build a state machine to determine whether your messages contain one of the above subjects - you can just use 'grep', or (my preferred method) a hash lookup.

    Linux Gazette

  • Incidentally, note the commented-out line (#77): originally, I used the email address as the "grep" search string and the file as the source, and if the string was found in the file, then that was the end of it.

    Linux Gazette

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.

  • Much more useful as a verb than a noun.

    December 13, 2006

  • means: I know I put the damn keys in here somewhere...

    December 13, 2006