[BusyBox] tr incompatibility
Erik Andersen
andersen at lineo.com
Thu Jul 13 16:41:54 UTC 2000
On Thu Jul 13, 2000 at 07:55:05AM -0700, Matt Kraai wrote:
> On Tue, Jul 11, 2000 at 03:58:36PM -0400, Sean MacLennan wrote:
> > This isn't really a bug, but the tr command in 0.45 is not completely
> > compatible with the tr in 0.43. I am using tr to convert NULLs to CRs.
> > This worked in 0.43, but in 0.45 NULL is a special case.
> > Just thought I would let you know.
>
> Here is a patch so that tr can handle NULL characters as well. Give it
> a shot and let me know what you think. It is against the latest CVS
> version.
>
> In my tests, the following now works as expected.
>
> tr '\0' '\n'
>
> Later,
> Matt
Cool. Thanks Matt,
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list