66-getenv gets and displays the environment variables of a process name.
66-getenv [ -h ] [ -x ] [ -d delim ] process
It find the corresponding pid of the process name applying a regex search.
It open and read /proc/
-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.
-d delim : specify output delimiter. The default is \n
character.
66-getenv -x jwm
66-getenv "ck-launch-session" jwm
The file /proc/