•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 403,513 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,037 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 371 | Replies: 1
•
•
Join Date: May 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
can pliz someone help, m trying to serach and display a record in shell scripting in linux
i have one data file n one source file. wat should write in the source[coding] file to to search for a record acording to a search pattern entered by a user...
the data file is like
9009709 Deo Vinit V IT Programmer 17/03/08
9207700 Benny Benson N HR Manager 20/06/07
..
..
............
wat should i write in my source file so that say user wants to search for record with number as 9009709 n then display the entire record for that number on the screen
i tried using awk n grep n sed but got confused....
pliz can someone help.....
i have one data file n one source file. wat should write in the source[coding] file to to search for a record acording to a search pattern entered by a user...
the data file is like
9009709 Deo Vinit V IT Programmer 17/03/08
9207700 Benny Benson N HR Manager 20/06/07
..
..
............
wat should i write in my source file so that say user wants to search for record with number as 9009709 n then display the entire record for that number on the screen
i tried using awk n grep n sed but got confused....
pliz can someone help.....
•
•
•
•
•
•
•
•
DaniWeb Shell Scripting Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Searching and Updating a File (C)
- i want to read a particular file and searching for a particular word in that file (Pascal and Delphi)
- taking user input and searching a .txt file for matching records need a hint please (C++)
- Searching a record (Pascal and Delphi)
- Searching a record in 3 tables (Visual Basic 4 / 5 / 6)
- Searching for a record in multiple tables (VB.NET)
- assignment help [fstream, on modifying a record in a file] (C++)
- Help with searching (C)
Other Threads in the Shell Scripting Forum
- Previous Thread: Uniq on certain fields
- Next Thread: Running a script file from java



Threaded Mode