8

I am working my way through GAWK: Effective AWK Programming: A User’s Guide for GNU Awk, Edition 5.0; March, 2019.

I installed gawk using the following commands:

sudo apt-get update
sudo apt-get install gawk

On page 44 of the book there is the following:

The sample files are included in the gawk distribution, in the directory awklib/eg/data.

I cannot find awklib/eg/data, or any subset of this path. Where the heck is it?

Argent
  • 209
  • 1
  • 4

1 Answers1

9

On Debian-based distributions (which I assume you’re using, given apt-get), the sample files are available in /usr/share/doc/gawk/examples (without awklib in the path).

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164