|
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by ">User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a ">Donation to help aid in operating costs.
#16800 - 11/02/04 12:58 AM
Purpose of grep
|
Joined: Mar 2004
Posts: 419
Spyrios
UGN Member
|
UGN Member
Joined: Mar 2004
Posts: 419
VA
|
I know what it does, but how is it useful? Maybe I didn't really read it right but "The grep command searches for a patern of characters in a file or multiple files" So if you already know what files you are looking in to find your characters why would grep be useful?
I think I figured it out. It's like if you thought there was an error in a passwd file you could use grep to try to find the file. Am I close.
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
|
#16802 - 11/02/04 10:01 PM
Re: Purpose of grep
|
Joined: Nov 2002
Posts: 1,146
Ice
UGN News Staff
|
UGN News Staff

Joined: Nov 2002
Posts: 1,146
Likes: 1
Canada
|
grep is one of the sweetest tools :] Pretty much what Infinite said, its a Search tool. Quote from Grep GNU Project Website: Grep searches one or more input files for lines containing a match to a specified pattern. By default, grep prints the matching lines.
Good artists copy, great artists steal.
-Picasso
|
|
|
#16804 - 11/03/04 01:52 AM
Re: Purpose of grep
|
Joined: Mar 2004
Posts: 419
Spyrios
UGN Member
|
UGN Member
Joined: Mar 2004
Posts: 419
VA
|
Maybe I don't understand the use of the word pattern. Could someone explain or point me to a tutorial?
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
|
#16805 - 11/03/04 03:42 AM
Re: Purpose of grep
|
Joined: Mar 2002
Posts: 1,041
Infinite
UGN Elite Poster
|
UGN Elite Poster
Joined: Mar 2002
Posts: 1,041
Canada eh
|
|
|
|
|
Forums41
Topics33,701
Posts68,795
Average Daily Posts0
|
Members2,174
Most Online1,567 Apr 25th, 2010
|
|
|
Okay WTF?
by HenryMiring on 09/27/17 08:45 AM
|
|
|
|
|
|
|
|
|
|