Timeline for How to add columns to a file based on matched column and maintain the order of lines using awk
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 13, 2022 at 1:08 | history | edited | Ed Morton | CC BY-SA 4.0 | deleted 28 characters in body |
| Jun 10, 2022 at 22:34 | vote | accept | ambika | ||
| Jun 10, 2022 at 22:18 | history | edited | thanasisp | CC BY-SA 4.0 | tags |
| Jun 10, 2022 at 22:15 | comment | added | thanasisp | (1) you have to parse file2 first and later file1 (2) You have to save multiline string for every key, that means appending to exisitng value, (depending on a conditional expression) and not overwriting (3) when printing, again a ternary is needed because you want to print the key if there is no value. | |
| Jun 10, 2022 at 22:12 | answer | added | thanasisp | timeline score: 2 | |
| S Jun 10, 2022 at 21:21 | review | First questions | |||
| Jun 10, 2022 at 22:01 | |||||
| S Jun 10, 2022 at 21:21 | history | asked | ambika | CC BY-SA 4.0 |