Technology

Comma Separated Fields (The GNU Awk User’s Guide)

Comma Separated Fields (The GNU Awk User’s Guide)

For decades, anyone wishing to work with CSV files and awk had to “roll their own” solution. (For an example, see Defining Fields by Content). In 2023, Brian Kernighan decided to add CSV support to his version of awk. In order to keep up, gawk too provides the same support as his version. To use CSV data, invoke gawk with either of the -k or --csv options.

Fields in CSV files are separated by commas. In order to allow a comma to appear inside a field (i.e., as data), the field may be quoted by beginning and ending it with double quotes. In order to allow a double quote inside a field, the field must be quoted, and two double quotes represent an actual double quote. The double quote that starts a quoted field must be the first character after the comma. Table 4.1 shows some examples.

Videos

There are too many videos on the Internet of relatively inexpensive things that look like a lot of fun but are very much so illegal in New York.

GE M-2 Luminaire

GE M-2 Luminaire

These were the first "energy efficent" street lighting, low-pressure sodium lamps commonly used along highways starting in the 1930s.

Good technology

It would be mistake to say that I am opposed to technology but I do oppose highly commercial, glittery, closed source technology that is the hallmark of suburbanite lifestyle. I like simple technology that I can understand, is durable and hackable for my own uses. Technology that doesn’t focus on entertainment but better understanding my own life and the world around me.

I’ve long said that I will never have a television or internet at home. Don’t get me wrong, I like my smartphone and I do go down to the public library to use the internet for uploading or downloading large files. But it’s different than watching bright flashing pictures and for hours on end for canned entertainment purposes.

Even when I own my own home I can’t imagine having internet or television. I would want my very inexpensive smartphone and cell service with the basic data package, but nothing more than that. I probably wouldn’t totally forgo having electricity but it would be a very small and simple solar system for lighting, charging phones and maybe pumping water. Good technology is simple and understandable, and easy to understand and close to nature.

North-west from the Gulf