From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Mon, 8 Apr 2013 18:07:57 +0200 Message-ID: <7348512.x7WV1SlMj3@coil> User-Agent: KMail/4.10.1 (Linux/3.9.0-rc3-l50; KDE/4.10.1; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: [9fans] open file in awk script? Topicbox-Message-UUID: 3f48e84a-ead8-11e9-9d60-3106f5b1d025 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 fi= le? not helped so far: FILENAME=3D"foo.txt" nor ARGV[1]=3D"foo.txt"; nextfile; --=20 dexen deVries [[[=E2=86=93][=E2=86=92]]]