![]() |
|
|
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 |
| Clueless about how to lookup and reverse lookup IP addresses under a file!!.pls help | choco4202002 | UNIX for Advanced & Expert Users | 0 | 08-26-2008 02:28 PM |
| Lookup file | mohan705 | Shell Programming and Scripting | 4 | 08-05-2008 05:22 AM |
| Lookup on a file | ukatru | UNIX for Advanced & Expert Users | 1 | 07-29-2008 12:33 PM |
| file Lookup using awk | jerome Sukumar | Shell Programming and Scripting | 1 | 08-30-2007 04:28 AM |
| file lookup | gillbates | UNIX for Dummies Questions & Answers | 6 | 12-12-2003 02:04 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
SED based on file lookup
Newb here trying to figure this one out.
![]() I am trying to create a SED (or some other idea) line that will replace the data field if the original text is seen in a separate text file. The lookup file would be line delimted. For example: sed 's/<if in file>/YES/' File structure: 1-1 3-14 5-20 etc... Is this possible?? |
| Bookmarks |
| Tags |
| sed awk shell |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|