Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ksh version problem (Was: Which is faster??)
Hi, Mandar,
I think your ksh is not Version 93. Here's from UWin (Korn shell for Windows, www.research.att.com/sw/tools/uwin/):
$ var=tester
$ echo $var
tester
$ echo ${var//e/o}
tostor
Unfortunately, it's not easy to get ksh93 on a UNIX box due to (I believe) licensing issues.
Yong Huang
yong321_at_yahoo.com
you wrote:
check this question from korn faq at
http://www.kornshell.com/doc/faq.html
Q24. How do I do global substitutions on the contents of shell variables? A24. Use // instead of / for global substitution, ${var//aa/bb} will expand to the value of with each "aa" replace by "bb".
so i tried
$ var=tester
$ echo $var
tester
$ echo ${var//e/o}
bad substitution
$
anyone out there :)
-Mandar
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: yong huang INET: yong321_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Sat Mar 24 2001 - 23:44:12 CST
![]() |
![]() |