![]() |
|
|
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 |
| unable to log into gdm, urgent help needed!!!pls | wrapster | Shell Programming and Scripting | 0 | 04-25-2008 01:48 AM |
| urgent needed | manish1 | Shell Programming and Scripting | 0 | 03-13-2008 05:09 AM |
| Urgent help needed | skyineyes | UNIX for Dummies Questions & Answers | 5 | 06-19-2007 04:31 AM |
| urgent help needed !! | guhas | Shell Programming and Scripting | 0 | 09-10-2005 02:01 PM |
| Urgent Help needed | mgchato | High Level Programming | 0 | 05-19-2005 03:49 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
urgent help needed.
Ok I admit it I am stumped and I would appreciate any and all help
Here is what I am trying to do. Korn Shell script I am setting a variable to another shell script that I want to invoke in my main script like so: GETDIR=/vol100/cfg/.getdir The .getdir shell script take a parameter, for example: ./getdir somedir This returns a single entry. I set another variable in the main script to the parameter PARAM=someparameter Now inside my main script I want to get the result of running the .getdir script with the parameter And I am trying to do this like so NETDIR=$(${GETDIR} ${PARAM}) echo ${NETDIR} But it doesn't work ${NETDIR} is always empty. Any suggestions? Thanks, Batch |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|