continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Drolshammer (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-2181) Problems with parameters to tr on Solaris
Date Wed, 22 Apr 2009 08:49:44 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173808#action_173808
] 

Erik Drolshammer commented on CONTINUUM-2181:
---------------------------------------------

I don't know if changing locale would solve the issue, because there are no appropriate locales
available on the server. :P 
(Requires a reinstall to fix apperently.) 

tr [A-Z] [a-z] | tr -d " \t\r" 
instead of the upper, lower syntax solved the problem for me. 
I can attach my working bin/continuum file. 

> Problems with parameters to tr on Solaris 
> ------------------------------------------
>
>                 Key: CONTINUUM-2181
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2181
>             Project: Continuum
>          Issue Type: Bug
>          Components: Environmental
>    Affects Versions: 1.3.2
>         Environment: SunOS hostname 5.10 Generic_127112-07 i86pc i386 i86pc
> Locale:
> LANG=en_US.UTF-8 or blank 
> LC_CTYPE="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_COLLATE="C"
> LC_MONETARY="C"
> LC_MESSAGES="C"
> LC_ALL=
>            Reporter: Erik Drolshammer
>
> I try to run Continuum on Solaris using SMF. 
> It seems the tr command misbehaves. (In the file bin/continuum.) 
> Would it be possible to replace the following expression 
> tr [:upper:] [:lower:] | tr -d [:blank:]
> with 
> tr [A-Z] [a-z] | tr -d " \t\r"
> ? 
> As far as I have been able to test the behave identically on both Ubuntu and Solaris
at least. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message