xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/clsflnam.awk (revision 13b136d3061155363c62c9f6568d25b8b27da8f6)
1#! /usr/bin/awk -f
2BEGIN {
3  getline
4# print ("FILENAME =", FILENAME) > "/dev/stderr"
5  #Rewind the file
6  if (close(FILENAME)) {
7      print "Error `" ERRNO "' closing input file" > "/dev/stderr";
8      exit;
9  }
10}
11{  print "Analysing ", $0 }
12
13