[pass] [passmenu]: Complicated way for first line?
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:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Password-Store