Do I need to install awk or is it inbuilt in Ubuntu?

I'm new to Linux OS and studying Mobile Computing. I have to analyze files using awk. I'm using Ubuntu 14.04.

Do I need to install awk or is it inbuilt in Ubuntu?


Solution 1:

Ubuntu's desktop edition has mawk installed by default, as it's a dependency of the lsb-core package. It conforms to standard AWK, with a few extensions.

GNU awk, which has more features, needs to be installed separately:

sudo apt-get install gawk