Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add `read --delimiter` #4256
This is a continuation of #4160. The delimiter is now used as a complete string like in
The IFS fallback remains - we should not remove it in 3.0, but we should deprecate it somehow.
Fixes issue #4156.
While I agree that's the better API design I'm not worried about it. Because with 32 bit ints we would have to do more than 2 billion splits before unintentionally and prematurely terminating the loop. Something that is unlikely to ever happen. Even with 16 bit ints it is pretty unlikely to ever be a problem.
Sure. There's no real rush.
One more thing that would change is that currently
Anyway, I just wanted to mention it since I'm touching the function and making it more prominent.