Timeline for Combine rows from different files, if pattern is matched
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 27, 2015 at 22:59 | vote | accept | dovah | ||
| Oct 27, 2015 at 22:05 | comment | added | chaos | @Dovah I changed my answer, It now only splits the 2nd field by dash. Is that what you wanted? Or do you mean by "scan" to search in the 2nd field? | |
| Oct 27, 2015 at 22:04 | history | edited | chaos | CC BY-SA 3.0 |
added 1 character in body
|
| Oct 27, 2015 at 19:16 | comment | added | dovah |
Alright, so your solution will work if the character - is the only one found in the whole row, otherwise it will screw up the entire row. I'm really looking for something that could "scan" File2,$2 for pattern in File1,$1 and append the corresponding values. Thanks
|
|
| Oct 27, 2015 at 18:21 | vote | accept | dovah | ||
| Oct 27, 2015 at 19:05 | |||||
| Oct 27, 2015 at 17:42 | history | answered | chaos | CC BY-SA 3.0 |