Print out only first line

Justin Chiu c.justin88 at gmail.com
Sun Aug 27 05:52:15 CEST 2017


Hi,

Is it possible to just print out only the first of a multi-line entry
(exactly like the behaviour of pass -c but to stdout). I want to pass
only the password to another command, e.g.

~ dummyProgram --password `pass -p Group/Title/User`

where -p tells password-store to just return the first line. Maybe this
is not a good idea at all (does `...` output it to an insecure stream
temporarily?)

Thanks,
Justin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170826/f0933d3b/attachment.html>


More information about the Password-Store mailing list