![]() |
|
|
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 |
| Mac OS X 10.5.8 Combo Update 10.5.8 | iBot | UNIX and Linux RSS News | 0 | 09-25-2009 02:00 AM |
| Mac OS X 10.5.7 Combo Update | iBot | UNIX and Linux RSS News | 0 | 07-11-2009 08:30 AM |
| Mac OS X Server Combo 10.5.7 | iBot | UNIX and Linux RSS News | 0 | 05-12-2009 11:00 PM |
| what is the similar command for "grep -v" in nawk? | prsam | UNIX for Dummies Questions & Answers | 7 | 12-08-2008 08:19 AM |
| how to access values of awk/nawk variables outside the awk/nawk block? | saniya | Shell Programming and Scripting | 5 | 05-13-2008 08:37 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I have 2 files:
File1 "aa","server","001-9031234-001", File2 001-9031234-001|12345 Both files have many lines of text. Each line needs to be evaluated. I need to look at the value of the third field in File 1. Then look for that same value in File 2 and assign the value of Field 2 in that file to num. so num for this example would equal 12345. The value of num would then be input back into File1 so File1 would then look like "aa","server","001-9031234-001","12345", Thanks, |
| Bookmarks |
| Tags |
| awk, grep, nawk |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|