Actions
Feature #12926
closed-l flag for line end processing should use chomp! instead of chop!
Feature #12926:
-l flag for line end processing should use chomp! instead of chop!
Description
Using chop! can mess up the final line of input because it may not end in a line-end character.
Using chomp! works correctly in both cases.
Actions