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

Support for filtering #230

Open
willakat opened this issue Jul 25, 2024 · 4 comments
Open

Support for filtering #230

willakat opened this issue Jul 25, 2024 · 4 comments

Comments

@willakat
Copy link

This is only a suggestion.

Good old "less" supports a not-so-well-known feature that filters lines that match or don't match a pattern (using the "&" key). It seems moar doesn't (yet?) have support for this, but maybe this could be a worthwhile addition to the TODO list.

@rwmitchell
Copy link

Thanks for that tip!

@walles
Copy link
Owner

walles commented Aug 18, 2024

I like it!

And now that I know it exists I have been missing it at least once.

No promises if or when I'll implement it, but I do want it.

Workarounds include:

  • Using less (obviously)
  • grep -n hello file.txt | moar

@lapo-luchini
Copy link
Contributor

I was today years old when I got to know about this feature… and now I immediately would like it in moar too. 😇

@gchiesa
Copy link

gchiesa commented Nov 26, 2024

I also would like to switch to moar and I miss this feature to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants