[Discuss] awk linux and ENVIRON

p.willis at telus.net p.willis at telus.net
Fri Jun 23 15:50:23 PDT 2006


Quoting "Alan W. Irwin" <irwin at beluga.phys.uvic.ca>:

> 
> awk 'END{for(env in ENVIRON) print env, " = ", ENVIRON[env]}' \
> </dev/null |less
> 
> now works great as a test that all is well with ENVIRON on debian stable.
> 
> Peter, does that script also work for your awk platform?

Yes, that script works fine for me.
It doesn't exit gracefully though. I need to CTRL-Z,
to stop the job, to actually get out.

Do you need to signal break to get awk to stop
on debian/ubuntu?

Peter



More information about the Discuss mailing list