aboutsummaryrefslogtreecommitdiffstats
path: root/test/procinfs.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/procinfs.awk')
-rw-r--r--test/procinfs.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/procinfs.awk b/test/procinfs.awk
new file mode 100644
index 00000000..53cfa977
--- /dev/null
+++ b/test/procinfs.awk
@@ -0,0 +1,7 @@
+BEGIN {
+ printf "Initially, PROCINFO[\"FS\"] = %s\n", PROCINFO["FS"]
+ FIELDWIDTHS = "3 4 5 6"
+ printf "After assign to FIELDWIDTHS, PROCINFO[\"FS\"] = %s\n", PROCINFO["FS"]
+ FS = FS
+ printf "After assign to FS, PROCINFO[\"FS\"] = %s\n", PROCINFO["FS"]
+}