Web lists-archives.com

Re: Editing a piped in stream?




On 7/8/2018 7:00 AM, Richard Owlett wrote:

Until this thread I didn't have concept of "stream editor", much less the existence of "sed".
I had heard of "AWK", but had an image of it being a regex parser.

Awk is easy to learn because it is a minimal language. It can do anything sed can do and much more. I am always surprised that so many people opt to build long commands with cut/sed instead of using awk. FWIW, I use mawk because it is orders of magnitude faster than gawk.

-- john