Can I extract arbitrary lines to stdout, rather than to the clipboard?

yvh11a yvh11a at
Sun Jun 28 20:54:45 CEST 2020

Hello everyone, nice to meet you all.

Assuming I have secrets stored in as follows:

    my-email at

I can do the following:

    pass -c    -> sends hunter2 to clipboard
    pass -c2   -> sends my-email at to the clipboard
    pass       -> sends hunter2 to stdout
    ?????                -> how to send my-email at to stdout?

I'd like to know if there's a way to send arbitrary lines to stdout,
as can be done to the clipboard. Alternatively, commit 3a108277 seems
to allow extraction of fields other than the password, but only for
emacs.  Does something similar exist from the command line?  Meaning,
if I modified my file as such:

    email: my-email at

could I do something like

    pass :email -> send my-email at to stdout

Best regards,
Steve V

More information about the Password-Store mailing list