Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convenient "or" operator to queries #976

Closed
raffomania opened this issue Sep 21, 2014 · 5 comments
Closed

Add convenient "or" operator to queries #976

raffomania opened this issue Sep 21, 2014 · 5 comments
Labels
feature features we would like to implement

Comments

@raffomania
Copy link

This is currently kind of possible with regexes, but it would be nice to have something easier to use, for example commas: beet ls beatles, queen.

@sampsyo
Copy link
Member

sampsyo commented Sep 21, 2014

This would indeed be helpful. The plumbing is already there, in fact; just missing convenient syntax. See also #819.

@sampsyo sampsyo added the feature features we would like to implement label Sep 21, 2014
@raffomania
Copy link
Author

That's cool! I really like the idea of a comma. Nice alternatives I can think of are a pipe or a semicolon.

@sampsyo
Copy link
Member

sampsyo commented Sep 21, 2014

I like pipe too, but it has the disadvantage of needing escaping in most shells (as does semicolon). Comma does sidestep that!

@raffomania
Copy link
Author

Good point. I'd vote for comma ;)

@sampsyo
Copy link
Member

sampsyo commented Apr 17, 2015

Done in #1423.

@sampsyo sampsyo closed this as completed Apr 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature features we would like to implement
Projects
None yet
Development

No branches or pull requests

2 participants