On 2015-02-04 09:26, Dahlberg, David wrote: > Am Dienstag, den 03.02.2015, 17:47 +0100 schrieb Marc-Antoine Perennou: > >>>> diff --git a/src/password-store.sh b/src/password-store.sh > [..] >>>> + which gpaste &>/dev/null && gpaste help | grep password >> &>/dev/null && gpaste=1 > > Pardon my Evolutions bad quoting :-(
(looks good to me?) > I do not know gpaste, nor can I easily apply patches in my current > setup, but may I suggest "grep -q password" instead of "grep password > &>/dev/null"? is GNU grep a requirement already? btw, I think you could just as well skip which(1) (see previous rant about which from me on this list :-) and do (gpaste help | grep password) &>/dev/null && gpaste=1 if gpaste doesn't exist, no harm is done. -- Kjetil T. Homme Redpill Linpro AS - Changing the game
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
