Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:
authorEric Andersen <andersen@codepoet.org>
Mon, 10 Jul 2000 16:38:50 +0000 (16:38 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 10 Jul 2000 16:38:50 +0000 (16:38 -0000)
commita03d86cf5496a24ccf81bfbf8fdbb10b1ad13a0a
tree2aa0b95f63205b067eac7ef738ba4f41620474c3
parent44735f874437ee4b570a6780c1f879de80e80fdc
Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:

GNU tr complains on the following:

$ tr a ''
tr: when not truncating set1, string2 must be non-empty

BusyBox tr does not complain:

$ tr a ''
a
^D
0

It should result in an error, not in some spurious output.  The attached
patch generates an error.

Matt
coreutils/tr.c
tr.c