> function getpass {
> gpg --decrypt $HOME/pw.gpg | grep "^$1" | awk '{print $2}' \
> | tr -d '\n' | xclip -i
> }
>
> The plaintext of pw.gpg has lines like this:
>
> key passwordI have something similar, but instead of having all the password in a single file, I have only file by each password, so the script is more simple. Regards, -- Roberto E. Vargas Caballero

