in reply to Re: Replace table values from text database
in thread Replace table values from text database
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Replace table values from text database
by 1nickt (Canon) on Mar 14, 2016 at 14:29 UTC | |
Just copy and paste three or four lines from each file, inside <code> sections, and also a sample of what your desired output is. See Short, Self-Contained Compilable Example or How Do I Post a Question Effectively for hints.
The way forward always starts with a minimal test.
| [reply] [d/l] |
by Alfumao (Initiate) on Mar 14, 2016 at 14:41 UTC | |
I hope this helps
| [reply] [d/l] |
by 1nickt (Canon) on Mar 14, 2016 at 16:16 UTC | |
Well, I'm still not sure that I really grasp what it is you're trying to do, but maybe this will be of some help. Changes the lines in the second file if the first field in the line is contained as the first field in a line in the first file (combining data from the two files), or does nothing if not: Output:
Hope this helps!
The way forward always starts with a minimal test.
| [reply] [d/l] [select] |