trying to create a standalone awk script (#!/usr/local/plan9/bin/awk -f). how to open a file in BEGIN pattern section and set it as next input file?
not helped so far: FILENAME="foo.txt" nor ARGV[1]="foo.txt"; nextfile; -- dexen deVries [[[↓][→]]]
trying to create a standalone awk script (#!/usr/local/plan9/bin/awk -f). how to open a file in BEGIN pattern section and set it as next input file?
not helped so far: FILENAME="foo.txt" nor ARGV[1]="foo.txt"; nextfile; -- dexen deVries [[[↓][→]]]