Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-02-2008, 06:44 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Thumbs up Doubt in awk scripting....

Hi guys,I m new one in awk scripting....i want to search a word with in a that directory haviing many files...if i give a work ,it should open the directory and open each file for to search that particular it possible in awk...tell me guys its really urgent....

Last edited by stalin2020; 06-02-2008 at 06:46 AM.
Old 06-02-2008, 08:20 AM   #2
LQ Newbie
Registered: Jan 2008
Distribution: OpenSuse 10.3, SLED 10 SP2, Ubuntu 8.04 and 9.04
Posts: 23

Rep: Reputation: 15
try: grep -HR [pattern] [directory]


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
awk question on handling *.CSV "text fields" in awk jschiwal Programming 8 05-27-2010 07:23 AM
Some comments on awk and awk scripts makyo Programming 4 03-02-2008 06:39 PM
awk help willinusf Programming 3 02-29-2008 10:06 PM
awk help tteklem Linux - Newbie 3 11-18-2007 10:10 PM
awk kalyanofb Programming 4 02-19-2007 02:55 AM

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration