66-gnwenv gets and writes the environment variables of a process name at a specific file location.
66-gnwenv [ -h ] [ -x ] [ -m mode ] process dir file
66-getenv -x process 66-writenv -m mode dir file
. It does nothing else: it is just a convenience program. 66-getenv read the environment variable of the process, and 66-writenv will write these variables into dir/file location.-h : prints this help.
-x : match exactly with the process name. It can be a complete command line, in such case its must be double-quoted.
-m mode : create dir with mode mode if it doesn't exist yet. Default is 0755
.