Timeline for Replace string within multiple files using per line strings from one file
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 10, 2020 at 12:37 | comment | added | Ed Morton | You're welcome. The main benefit to this approach is it'll run orders of magnitude faster than calling sed in a loop reading one line at a time - see why-is-using-a-shell-loop-to-process-text-considered-bad-practice. | |
| Aug 10, 2020 at 11:02 | comment | added | 0m3rta3 | While I used the initial answer to solve my problem this one has been super handy because of its sheer versatility. I had no idea how versatile awk was. Really helped give me a better understanding of awk and the amazing uses for NR, FNR, ORS, OFS etc along with sub, map & ARGIND. Thank you! | |
| Aug 4, 2020 at 13:34 | history | edited | Ed Morton | CC BY-SA 4.0 |
added 87 characters in body
|
| Aug 4, 2020 at 13:23 | history | answered | Ed Morton | CC BY-SA 4.0 |