![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 Needed to Parse Results | jroberson | Shell Programming and Scripting | 2 | 08-20-2008 11:20 AM |
| Using expect script in a shell script or vice versa | nua7 | Shell Programming and Scripting | 0 | 07-18-2008 07:16 AM |
| Unexpected Results (at least I did not expect them) | altamaha | Shell Programming and Scripting | 6 | 06-19-2008 09:43 AM |
| Need help with Expect and Shell script | tonan | Shell Programming and Scripting | 1 | 04-10-2008 10:45 PM |
| sql query results in unix shell script | skyineyes | UNIX for Dummies Questions & Answers | 1 | 06-20-2007 10:56 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Using Expect results in a Shell script
I am trying to write a shell script that launches an expect script and then use results of the expect script in the rest of the shell script.
The expect script is connecting to a remote host and looking up certian user info like UID and home directory. This part is working I then want the shell script to use these results in test statement (if uid xxx exists the scp these files to their home) How do I export the the results of the expect script to the shell script? My TCL experiance is limited to getting the basic expect script working. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|