bash-2.05a$ ls -ltr `which tr`
-rwxr-xr-x 1 root root 37374 Mar 22 2002 /usr/bin/tr


bash-2.05a$ tr '[:upper:][:punct:]' '[:lower:][ *]'
tr: tr.c:2003: main: Assertion `c1 == -1 || truncate_set1' failed.
Aborted



1) 'tr' should not assert. It should generate a reasonable error message and then exit.

2) The command should have worked. Of course, I also claim that the sequence '[:lower:]' should always be allowed in set 2 and should simply expand to 'abcdefghijklmnopqrstuvwxyz' (or something similar depending on the locale). Similarily for 'upper'.

cs



_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to