Home Man
Today's Posts

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Replacing field from file 1 with field from file 2

awk, file, join, merge, shell scripts

Login to Reply

Thread Tools Search this Thread
# 8  
Old 04-25-2011
Quite embarassingly, I'm trying to convert what you wrote into the true file i'm working with which has over 130 fields.

But trying with your sample it returns 4 blank lines.

I think I got it though,

thanks very much for the informative answer.

---------- Post updated at 04:46 PM ---------- Previous update was at 04:35 PM ----------

Got it, stupidity of my part.

Just needed a cup of joe to see the light.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Replacing field based on the value of other field weknowd Shell Programming and Scripting 14 01-12-2018 06:23 PM
Need to replace last field in a file,if first field matches Sumanthsv Shell Programming and Scripting 4 07-04-2016 01:25 PM
Command/script to match a field and print the next field of each line in a file. pocodot Shell Programming and Scripting 10 08-17-2015 08:28 AM
Replacing nth field with nth_text for each line in a file arunkumarsd Shell Programming and Scripting 2 06-16-2015 04:52 PM
How do I format a Date field of a .CSV file with multiple commas in a string field? dhruuv369 Linux 3 10-16-2013 04:50 PM
Plz Help. Compare 2 files field by field and get the output in another file. i150371485 Shell Programming and Scripting 5 07-26-2012 12:32 AM
Compare two files Field by field and output the result in another file i150371485 Shell Programming and Scripting 7 07-20-2012 07:01 AM
replacing field in specific line in a file vytenis Shell Programming and Scripting 5 09-01-2010 08:06 PM
Need some help matching a field in one file with a field in another linuxkid Shell Programming and Scripting 5 07-20-2010 12:55 PM
Replacing a field in pipe delimited TEXT File ravi0435 UNIX for Dummies Questions & Answers 3 01-08-2009 01:54 PM

All times are GMT -4. The time now is 01:01 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
Show Password