This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm using NetBeans 6.0 of 200706141200, but netbeans command can not invoke IDE in ja locale. % setenv LC_MESSAGES C % bin/netbeans Bad string expr: syntax error bin/netbeans: test: argument expected % tr command is being used as below, SunOS*) mem=`/usr/sbin/prtconf | grep Memory | tr -dc '[:digit:]'` mem=`expr $mem / 4` ;; but /bin/tr command will not work properly in ja locale with [:digit:], it returns "Bad string". % /usr/sbin/prtconf | grep Memory | tr -dc '[:digit:]' Bad string % Please use /usr/xpg4/bin/tr instead, it will work. % /usr/sbin/prtconf | grep Memory | /usr/xpg4/bin/tr -dc '[:digit:]' 2047%
marking as p1; this is not related to localization or translation at all; any user in various locales could run into this even when using m10 or daily netbeans. (and the usual unix path points to /bin/tr, which is where the problem is) Also, it might be needed to be fixed for linux or mac if there are other versions of tr on them. ken.frank@sun.com
Assigning to Radim.
Fixed earlier today. Checking in ide/launcher/unix/netbeans; /shared/data/ccvs/repository/ide/launcher/unix/netbeans,v <-- netbeans new revision: 1.48; previous revision: 1.47
v
issue #110296 is another problem so I changed the fix to use default tr -dc '[0-9]' I hope this will be safe