#13895
-
CSV is not rigorously defined.
Awk has a `--csv` argument since 2023. It causes lines to be split into fields according to these rules:
- any field that contains a comma or a double quote (`"`) must be surrounded by double quotes
- any field may be surrounded by quotes whether it contains commas and quotes or not
- an empty field is `""`
- a double quote within a field is represented by a doubled quote: `""","""` represents `","`
- fields may contain newline characters
https://github.com/onetrueawk/awk#csv
https://marcarea.com/static/tweets/jpg/63854c03d55836be.jpg 27/07/2024 à 10:24