![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I get the same results in Perl as in csh | bdsffl | Shell Programming and Scripting | 6 | 06-06-2007 11:55 PM |
| Different results from awk, sed, tr in different directories??? | james_falco | HP-UX | 2 | 02-23-2007 02:02 AM |
| Strange ls results.. | dbridle | AIX | 3 | 02-16-2006 06:12 AM |
| TOP Results AIX 5.3 | mcastill66 | AIX | 1 | 09-26-2005 01:54 PM |
| C program with two results. | Gandalfcgb | High Level Programming | 7 | 01-20-2002 01:25 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
set -A RESULTS
Hi,
Could you please tell me the meaning of the command set -A RESULTS '---echo sybase command to execute a tored porcedure ----------' | isql I just wants to know what does RESULTS contains after execution of command. Thanks Regards Ashish Malviya ![]() |
|
||||
|
Well, in this case, echo $RESULTS will be null. The leading dashes in the first array element is somehow causing this. If you push this to the second array element:
set -A RESULTS 'first slot' '---echo sybase command---' then you can successfully do: echo ${RESULTS[0]} echo ${RESULTS[1]} |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|