Timeline for Large file manipulation
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 1, 2024 at 23:42 | vote | accept | user256787 | ||
| Sep 16, 2024 at 11:20 | history | edited | Ed Morton | CC BY-SA 4.0 |
deleted 36 characters in body
|
| Aug 30, 2024 at 17:54 | comment | added | user256787 | Thank you. awk 'BEGIN{FS=OFS=","} {sub(/ +$/,"")} NR==1{gsub(/ /,FS)} NR>1{$1="\""$1"\""} {print $2, $3, $1}' pc0.csv > pc1.csv worked perfectly. | |
| Aug 30, 2024 at 5:12 | comment | added | kos | Huh, looking at this made me notice something; the trailing spaces you're removing, which I thought were just a refuse in OP's example, may actually be the "tabs" I now notice they're mentioning at the end of the question. +1 as this is the correct solution given the proposed input, however OP should clarify this. | |
| Aug 29, 2024 at 23:23 | history | edited | Ed Morton | CC BY-SA 4.0 |
added 2 characters in body
|
| Aug 29, 2024 at 23:18 | history | edited | Ed Morton | CC BY-SA 4.0 |
added 2 characters in body
|
| Aug 29, 2024 at 23:10 | history | answered | Ed Morton | CC BY-SA 4.0 |