Timeline for linux csv column with multiple comma separators - sed regex match and replace with quotes
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 25, 2023 at 11:29 | history | edited | Prabhjot Singh | CC BY-SA 4.0 | Command added. |
| Oct 24, 2023 at 11:53 | history | edited | Prabhjot Singh | CC BY-SA 4.0 | Answer Edited |
| Oct 24, 2023 at 11:47 | history | edited | Prabhjot Singh | CC BY-SA 4.0 | Command added. |
| Oct 24, 2023 at 9:26 | vote | accept | Indranil | ||
| Oct 24, 2023 at 9:26 | |||||
| Oct 24, 2023 at 9:12 | comment | added | Indranil | yes, it works now -- thankyou very much... awk -v q=\" '{sub(/\w{10}=\w{12},\w{10}=\w{3}.*,\w{10}=[[:alnum:]]{1,}/, q "&" q ) }1' export.csv | |
| Oct 24, 2023 at 8:58 | history | edited | Prabhjot Singh | CC BY-SA 4.0 | Command added. |
| Oct 24, 2023 at 8:48 | history | edited | Prabhjot Singh | CC BY-SA 4.0 | Command corrected. |
| Oct 24, 2023 at 8:35 | comment | added | Indranil | thanks, but you are filtering out, i need to put back the matched and quoted line back to same file. | |
| Oct 24, 2023 at 7:26 | history | edited | Prabhjot Singh | CC BY-SA 4.0 | Command added. |
| Oct 24, 2023 at 6:47 | history | edited | Prabhjot Singh | CC BY-SA 4.0 | edited body |
| Oct 24, 2023 at 6:06 | history | answered | Prabhjot Singh | CC BY-SA 4.0 |