[pass] [passmenu]: Complicated way for first line?

Anas Syed anas27 at gmail.com
Sun Feb 7 12:03:36 CET 2016

I think because read is executed in a subshell, the variable $pass is lost
by the time you reach printf. But if you group them, then read and printf
execute in the same subshell.

@Jason It works fine now, thanks!

On 7 February 2016 at 09:14, Lucas Hoffmann <l-m-h at web.de> wrote:

> Quoting Jason A. Donenfeld (2016-02-06 19:46:16)
> > I just forgot to group the commands properly. Works now:
> >
> http://git.zx2c4.com/password-store/commit/?id=930f01cd830815730f3f041d5e5788fccdd6d4cb
> Out of curiosity: What difference does the grouping make?
> Also: You should add -r to read (see man 1p read or man bash).
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20160207/3cece1d7/attachment.html>

More information about the Password-Store mailing list