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

deletions in output beginning 1023 characters after record start #32

Open
peterwang0 opened this issue Jan 12, 2024 · 1 comment
Open

Comments

@peterwang0
Copy link

I am using agrep on a unix system (someone else in our group installed it), and have a strange bug. Using the -d option, a few of the output matching records have deletions that begin after the first 1023 characters (and continue for varying lengths). The behavior is reproducible, given the same input file and command, the exact same output problems occur.
In https://github.com/peterwang0/agrep-test I have put test and output files that demonstrate the problem.
A detailed description is in https://github.com/peterwang0/agrep-test/blob/main/agrep_deletion_bug_github.pdf
Thanks!

@Wikinaut
Copy link
Owner

Wikinaut commented Jan 12, 2024

In former times I also noticed such a bug, or a similar one, may be caused when the string-in-work is close or crossing a "border" because of chunking.

I remember to have fixed some, but gave up to try to fix later, perhaps the community can help.

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

2 participants