The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
I can't decalar an array in my korn shell script zilla30066 Shell Programming and Scripting 4 01-25-2007 11:31 AM
Unix Korn Shell Array Issue (SunOS) Janus Shell Programming and Scripting 5 11-21-2006 08:19 PM
how to return an array of elements from oracle to shell script satyakiran Shell Programming and Scripting 3 08-02-2005 10:57 AM
korn shell array? cstovall Shell Programming and Scripting 5 01-28-2005 05:40 PM
Executing Oracle Stored Procs from Korn Shell Vinny_Mitchell UNIX for Dummies Questions & Answers 3 08-06-2003 05:45 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-20-2002
kdst kdst is offline
Registered User
  
 

Join Date: Sep 2002
Posts: 1
Question Oracle To Korn Shell Array

I'm attempting to populate an array in ksh using the following command:

set -A $(SELECT_INVOICE | sed '/^$/d')

SELECT_INVOICE is a function that executes the SQL query.

Problem: Some of the invoice numbers have alpha characters with spaces(example: OVEN MICRO). The Korn shell is treating OVEN and MICRO as separate indexed array elements. Does anyone have a suggestion as to how to work around this issue?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0