Is there still any reason to learn AWK?

If you quickly learn the basics of awk, you can indeed do amazing things on the command line. But the real reason to learn awk is to have an excuse to read the superb book The AWK Programming Language by Aho, Kernighan, and Weinberger. The AWK Programming Language at archive.org You would think, from the … Read more

How to escape a single quote inside awk

This maybe what you’re looking for: awk ‘BEGIN {FS=” “;} {printf “‘\”%s’\” “, $1}’ That is, with ‘\” you close the opening ‘, then print a literal ‘ by escaping it and finally open the ‘ again.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)