Hi Jim,

Joel E. Denny just discovered a bug [1][2] in 'tr' of coreutils-5.2.1 which is
already fixed in coreutils-6.4 or newer. But nevertheless, this indicates
that the test coverage of 'tr' can be improved. Can you add this as a test?

The command that leads to the bug is:

  echo 
'xyvw!$!H!C,!)!2+!3!4*!5,!3!6,!7!8)!9)!:"!(LdhdmM"!$EFV"!%Ni_a"!1PdhaQngYakUXYfa"!%gXdh"!8EWPeXoXJfXhcJTmkdhcKFV"!,TinkZaOdfa"!2ZihbmalmoakIeXoX.!*!+)!;.!<!="!<eXoXIljaZdbdZXmdihIoakldih.!>!?)[EMAIL
 
PROTECTED]"!-Zihbmalmoak"!2eXoXJfXhcJRYeaZm"!2eXoXJfXhcJTplmag"!$inm"!7PeXoXJdiJSkdhmTmkaXgK"!-camSkijakmp"!DEPeXoXJfXhcJTmkdhcKFPeXoXJfXhcJTmkdhcK"!5eXoXJdiJSkdhmTmkaXg"!)jkdhmfh"!7EPeXoXJfXhcJTmkdhcKFV!C!(!)!!!!!#!"!*!+!"!,!!!?!"!"!!!&Gt!"q!!!"!-!!!(!"!!!"!+!.!/!"!,!!!E!#!"!!!.r!#4$u!%s!&q!!!"!-!!!,!#!!!$!-!%!"!0!!!#!1'
 \
  | tr -d '\012\015' \
  | tr '!"#$%&()*+,-./0123456789:;<=>[EMAIL PROTECTED]' 
'\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\046\050\051\052\055\056\057\073\074\076\103\106\114\116\117\120\123\124\126\133\141\142\143\144\145\146\147\151\152\154\155\156\157\160\162\163\164\165\166\171\261\262\266\267\270\272\276\312\376'
 \
  | md5sum

The expected result is

  756e8d8a75930ff190201fc97a637d99  -

The result when 'tr' of coreutils-5.2.1 is used is

  89deb5330abad8978f90ca274b337f32  -

Bruno

[1] http://lists.gnu.org/archive/html/bug-bison/2007-02/msg00023.html
[2] http://article.gmane.org/gmane.comp.parsers.bison.bugs/2732



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to