]> Sergey Matveev's repositories - public-inbox.git/commit
lei q|up: fix saved searches for single-phrase search
authorEric Wong <e@80x24.org>
Mon, 8 Nov 2021 23:39:26 +0000 (23:39 +0000)
committerEric Wong <e@80x24.org>
Tue, 9 Nov 2021 00:43:36 +0000 (00:43 +0000)
commit666dde69a3f64456321b7c701070712d6b85e359
treee5efd7c440bcc8d84e04e00651f04224761c8a4e
parent7ffa98cbbf5bff8225fdfedb0f2b7c2beb5d0a6f
lei q|up: fix saved searches for single-phrase search

`"' (double-quote) needs to be quoted for stdin searches.

We also need to differentiate between "lei q --stdin" usage
when calling "lei up", do it by setting an internal "rawstr"
knob to ensure we can parse the config properly regardless
of whether the initial search used --stdin or not.
lib/PublicInbox/LeiSavedSearch.pm
lib/PublicInbox/LeiUp.pm
t/lei-q-save.t