[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request: -0 option for tr
From: |
Andreas Schwab |
Subject: |
Re: feature request: -0 option for tr |
Date: |
Sun, 28 Jun 2009 20:27:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux) |
Craig Sanders <address@hidden> writes:
> GNU grep has -z and -Z options - by your reasoning above, these
> convenience options are completely unecessary because you can easily
> run "tr '\0' '\n'" before grep and "tr '\n' '\0'" after grep.
No, you can't. The combination of these two operations is not the
identity: any NL will have been turned into a NUL.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."