Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • How would that work for a 2-dimensional array? Rows are already separated by newlines, but elements need to be quoted because some of them are optional. Commented Apr 24, 2022 at 7:44
  • @MartynasJusevičius If you have quoting, simple shell tools such as read and awk won't cut it. You need specialized tools such as csvtool or python -m csv. Commented Apr 24, 2022 at 17:56