On 2015-02-26 12:56, Desiderius wrote:
> Hi all
>
> I would want to use gawk to parse a large XML file.
>
> I have downloaded and installed the package of gawk 4.1.0 here on my Mac :
>
>
http://rudix.org/packages/gawk.html
>
> The installation ended well !
>
> But when I try to use :
>
> gawk -l xml .....
>
> I get
>
> "AWKLIBPATH is no set : Unable to find libraries"
>
> What value must have AWKLIBPATH on MacOSX ?
>
I have no clue about where rudix installs packages. My gawk lives in my
user space, see below. I guess you can apply the path logic in analogy
on your side.
Hermann
$ which gawk
/Users/peifer/local/bin/gawk
$ env | grep AWKLIBPATH
AWKLIBPATH=/Users/peifer/local/lib/gawk