Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Very Simply KSH Question

Very Simply KSH Question

From: Post, Ethan <Ethan.Post_at_ps.net>
Date: Tue, 5 Apr 2005 13:56:29 -0500
Message-ID: <E5D2567DDF0D03428A15664A78CA473C026AA9@pscdalpexch02.perotsystems.net>


This works on my Solaris server, when I run on my web host (not sure what OS) it will not set X and Y. Both are using ksh. Is this related to ksh versions or is this a stupid way to set multiple variables from a deliminated list?

 echo 2 4 | read X Y
 echo $X
2
 echo $Y
4

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Apr 05 2005 - 15:00:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US