"Blohm, Guntram (I/FP-831, extern)" <address@hidden> wrote:
> gandalf$ tr -c '\012[a-z][A-Z][0-9].' '[_*256]'
> tr: tr.c:1819: main: Assertion `get_next (s2, ((void *)0)) == -1 ||
> truncate_set1' failed.
> Aborted
Thank you for reporting that!
The fix appears to be simply to remove that assertion, since
there's nothing wrong with having string2 longer than string1.
This will be fixed upstream today, and will eventually appear
in coreutils-6.10.
In the mean time, you can work around it like this:
tr -c '\012[a-z][A-Z][0-9].' '[_*]'