>Does not work in Solaris:
>$ echo '12345' | tr -c '[1234\n]' 'x'
>12345
I don't have Solaris here to try, so how about a total guess:
echo '12345' | tr -c '[1234]\n' '[x*]'
(Solaris likely uses ksh and a SysV style of tr rather than GNUstyle...)
--~--~---------~--~----~------------~-------~--~----~
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
More options: http://groups.google.com/group/cwelug
-~----------~----~----~----~------~----~------~--~---