tr [:upper:] [:lower:] | tr -d [:blank:] yields Bad string in SunOS 5.10 (Solaris 10)
the work-around is:
tr [A-Z] [a-z] | tr -d ' '
Can you please provide me your output of 'uname -a' and locale?
I think this is a locale relating problem as the tr works fine on my Solaris 5.10 with C environment.
Looking forward for your reply.
output of our 'uname -a':
SunOS sun1 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Blade-1000
and our locale:
/usr/bin/tr fails with Bad string error, but /usr/xpg4/bin/tr works
Thank you for your reply.
Running the script on Solaris within a non singlebyte locale causes the error you described.
I changed the shell script according to your workaround. The changes will be part of the 3.4.0 release.
Thank you very much,
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.