manyfiles gawk: ./manyfiles.awk:1: (FILENAME=_manyfiles FNR=208) fatal: can't redirect to `junk/' (Is a directory) gmake[1]: *** [manyfiles] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/sys-apps/gawk-3.1.6/work/gawk-3.1.6/test' gmake: *** [check-recursive] Error 1 * * ERROR: sys-apps/gawk-3.1.6 failed.
so run the test manually: rm -rf junk mkdir junk gawk 'BEGIN { for (i = 1; i <= 300; i++) print i, i}' >_manyfiles gawk -f ./manyfiles.awk _manyfiles _manyfiles wc -l junk/* | gawk '$1 != 2' | wc -l | sed "s/ *//g" works fine for me: output should be "1"
Hmm the test works manually, have any idea why it doesn't work otherwise?
not a clue look at the tests/_manyfiles file to see if it was generated properly
It might have been the moot C library I guess, it works fine now. Sorry for the noise.