How about this? $ dummyProgram --password "$(pass Group/Title/User | head -n 1)" I wouldn't expect this to be insecure, but then I've never researched the matter. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170826/34717c2d/attachment.html>