![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove last character of a term | Raynon | Shell Programming and Scripting | 6 | 03-20-2008 06:04 AM |
| Red hat --- hyper term? | Rivers1980 | UNIX for Dummies Questions & Answers | 1 | 12-06-2007 06:12 PM |
| Help with TERM script | Surdeymon | Shell Programming and Scripting | 1 | 10-26-2005 10:52 PM |
| Create a Term & Run chars on this Term | the_tical | High Level Programming | 1 | 08-12-2003 10:18 PM |
| X-Term for Windows | yelamarthi | UNIX for Dummies Questions & Answers | 5 | 10-23-2002 06:20 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Search term and output term in desired field
Hi All,
I have an input_file below and i would like to use Perl to search for the term "aaa" and output the 3rd term in the same row as "aaa".For Example, i want to search for the term "ddd" and would want the code to ouput the 3rd term in the same row which is "fff". Can somebody help ? Input_file: aaa bbb ccc ddd eee fff hhhh pppp kkk jjjj vvvv mm sss zzz Output: fff |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|