|
From: | Paul Eggert |
Subject: | bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error |
Date: | Thu, 14 Aug 2014 13:13:45 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Vincent Lefevre wrote:
The problem with this solution is that it would change the length of the text, while replacing invalid bytes by zero bytes could be done in place (if allowed), with very little change of the code, I think.
True. Though it might be more user-friendly to use '?' as the replacement byte.
[Prev in Thread] | Current Thread | [Next in Thread] |