11 lines
328 B
Awk
Executable File
11 lines
328 B
Awk
Executable File
#!/usr/bin/awk -f
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Example 3 for Bash Tips show 21: printing the environment in Awk
|
|
#-------------------------------------------------------------------------------
|
|
|
|
BEGIN{
|
|
for (n in ENVIRON)
|
|
printf "ENVIRON[%s]=%s\n",n,ENVIRON[n]
|
|
}
|