unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [Bug] lei: extra quotes inserted into query with AND/OR
@ 2023-11-11 22:44 Henrik Grimler
  2023-11-12  0:10 ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Henrik Grimler @ 2023-11-11 22:44 UTC (permalink / raw)
  To: meta

Hi,

I recently found out about lei and installed it through archlinux's
package manager and am trying out queries. When using AND/OR extra
quotes are inserted in the curl command which messes it up, for
example:

$ lei q -I https://lore.kernel.org/all/ -o ~/mail/foo 'dfn:COPYING OR dfn:Makefile'
# /home/grimler/.local/share/lei/store 0/0
# /usr/bin/curl -Sf -s -d '' https://lore.kernel.org/all/?x=m&q=dfn%3A%22COPYING+OR+dfn%3AMakefile%22
# 0 written to /home/grimler/mail/foo/ (0 matches)

where it can be seen that it tries to search for 'dfn:"COPYING OR
dfn:Makefile"', and no hits are returned since there is no file named
"COPYING OR dfn:Makefile".

lei and perl-publicinbox are reported to be version 1.9.0-2. I tried
out lei from git repo (commit 270715407b0e ("doc: update
README.unsubscribe")) and had the same issue with that version as
well.

Is this a known issue, or am I doing something wrong?

Best regards,
Henrik Grimler

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-12 13:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-11 22:44 [Bug] lei: extra quotes inserted into query with AND/OR Henrik Grimler
2023-11-12  0:10 ` Eric Wong
2023-11-12  8:23   ` Henrik Grimler
2023-11-12  9:02     ` Eric Wong
2023-11-12 11:59       ` Henrik Grimler
2023-11-12 13:24         ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).