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

Feature request - arbitrary line delimiters #110

Open
hyanwong opened this issue Aug 18, 2018 · 4 comments
Open

Feature request - arbitrary line delimiters #110

hyanwong opened this issue Aug 18, 2018 · 4 comments

Comments

@hyanwong
Copy link

I'd like to be able to specify my own line delimiter (could be just a single character). I have a 200Mb file with no newlines in it that I'd like to read backwards, splitting on a bracket character. Would this be an easy change to implement?

@hyanwong
Copy link
Author

hyanwong commented Aug 18, 2018

(NB, currently I'm doing this in Perl using https://metacpan.org/pod/File::ReadBackwards)

@RobinNil
Copy link
Owner

Hmm.. currently, it's not super trivial to support this.

Partially, we support a file with different line endings. The decision to support this feature makes this hard to accommodate immediately.

I am keeping an eye open to see if there's an easier way to get this feature in.

@hyanwong
Copy link
Author

OK, thanks for responding. I'll keep on using the perl library for the moment then.

@gupta-niharika
Copy link

gupta-niharika commented Oct 17, 2023

Hi, I request to know if there were any updates on the above requested feature. I am in a similar situation where I'd like to be able to specify my own line delimiter. Has it been implemented? Any leads ?? @RobinNil

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

3 participants