On Thu, Oct 11, 2007 at 09:32:55AM -0700, Sangeeta Varma wrote:
>
> I noticed from your previous mail that you are using Solaris 10 8/07.
> SRWC 2.0 supports Solaris 10 Update 3 release. We do not support Update
> 4 yet. We are in the process of testing with it and have noticed some
> issues with the "tr" command.
> Can you let me know what locale you are using ? Basically the output of
> the "locale" command from the server where you are seeing the issue.
> Also what shell are you using ?
Here's the problem with `tr', using a sh-like shell:
$ echo tr [a-z][A-Z] [n-z][a-m][N-Z][A-M]
tr dm ti tm Pipe shql
$ ls -l -d dm ti tm Pipe shql
drwxr-xr-x 2 mills cserv 4096 Sep 6 1994 dm
prw-r--r-- 1 mills cserv 0 Oct 9 05:31 Pipe
drwxr-xr-x 3 mills cserv 4096 Dec 19 1992 shql
drwxr-xr-x 2 mills cserv 4096 May 30 2006 ti
drwxr-xr-x 2 mills cserv 4096 Jul 14 1997 tm
Here's the solution:
$ echo tr '[a-z][A-Z]' '[n-z][a-m][N-Z][A-M]'
tr [a-z][A-Z] [n-z][a-m][N-Z][A-M]
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users