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

Is there a way to find results with context lines before and after matched lines? #9555

Open
pansila opened this issue Jun 29, 2023 · 1 comment
Labels
question the issue author asks something

Comments

@pansila
Copy link

pansila commented Jun 29, 2023

Question

Just like grep's '-A' and '-B' flags, otherwise I have to str join rows and search them with grep since most data in nushell is records in a table, thanks in advance.

Additional context and details

No response

@pansila pansila added the question the issue author asks something label Jun 29, 2023
@fdncred
Copy link
Collaborator

fdncred commented Jun 29, 2023

no, this functionality doesn't exist in the find command. It may be interesting to have something like this but I think it may be a little complicated to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question the issue author asks something
Projects
None yet
Development

No branches or pull requests

2 participants