If gpg-agent
is executed, it outputs data that can be processed by a shell directly, e.g.:
SSH_AUTH_SOCK=/tmp/ssh-apeOFqMF3292/agent.3292; export SSH_AUTH_SOCK;
SSH_AGENT_PID=3293; export SSH_AGENT_PID;
echo Agent pid 3293;
Why is gpg-agent
doing this? I've seen more programs doing it. Did shells in the past not support export var=val
? Which shells do not support this alternative shell built-in?
I'm working with bash in Kubuntu.
bash
supports butsh
doesn't. – LawrenceC Jun 30 '11 at 21:58/bin/sh
is a symlink to/bin/dash
on my system which supportsexport var=val
too. What shell are you talking about? – Lekensteyn Jun 30 '11 at 22:09