![]() |
|
|
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 |
| Shell script..invoking command and exiting at fixed intervals | rajuak12 | Shell Programming and Scripting | 1 | 07-19-2008 10:34 AM |
| Invoking shell script with perl command. | nua7 | UNIX for Advanced & Expert Users | 1 | 07-10-2008 07:43 AM |
| exit status of Invoking two or more scripts in background | Omkumar | Shell Programming and Scripting | 4 | 03-31-2005 08:25 AM |
| BUILT-IN command scripts | JSP | Shell Programming and Scripting | 2 | 03-11-2002 09:52 AM |
| sqlplus and sh scripts (to_char command)) | josecollantes | UNIX for Advanced & Expert Users | 4 | 09-06-2001 10:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Invoking 2 scripts in 1 command
HI,
I have 2 scripts main.sh and sub.sh, I want to invoke both these scripts in 1 unix command.. Something like... csh -f main.sh(sub.sh TIBCO) sub.sh returns a value as .., by taking this value main.sh prints a text. Can anyone help me to build this command Below are the scripts ////sub.sh #! /usr/bin/csh set VAR_NAME=$1 eval echo \$$VAR_NAME ////main.sh #! /usr/bin/csh set VAR_NAME=$1 echo printing the value $VAR_NAME Thanks in advance |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|