dexen deVries <[email protected]> once said:
> 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;

ARGV[ARGC++] = "foo.txt"

  Anthony

Reply via email to