![]() |
|
|
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 |
| Passing global variable to a function which is called by another function | sars | Shell Programming and Scripting | 4 | 06-30-2008 12:39 PM |
| Passing more than one argument in a function | jisha | Shell Programming and Scripting | 1 | 04-23-2008 07:05 AM |
| Parameter passing in a function | fastgoon | UNIX for Advanced & Expert Users | 2 | 07-26-2006 06:10 AM |
| Passing a string parameter to a function | fastgoon | Shell Programming and Scripting | 1 | 07-17-2006 03:37 PM |
| Passing Argument to Function | AkumaTay | UNIX for Dummies Questions & Answers | 2 | 10-18-2001 07:24 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Passing string from function with '*'
Hi
I have a shell function which returns string(ksh). The string is an sql statement. This statement can have '*' in its content (i.e. select 100 / 2 *100 from dual). When this happens ret_str will have contents of current directry I run the script from build in sql. Is there any way to fix it ? ret_str=Get_Sql $PID echo $ret_str Get_Sql() { Set_Ora_Sid $DBNAME sqlplus -s '/as sysdba' 2>&1 <<EOF ... ... select :v_sql_txt from dual; EOF } Thanks you |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|