![]() |
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 |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-20-2007 01:52 AM |
| expect-5.43 and "passmass" | stephanpitts | Shell Programming and Scripting | 0 | 12-04-2006 04:19 PM |
| How to REMOVE USER that display error --> "Name is too long" | mgonzal | AIX | 1 | 06-27-2005 04:47 PM |
| "Arguments too long" | Peterh | UNIX for Dummies Questions & Answers | 2 | 08-12-2003 08:07 AM |
| info on "expect" | jyotipg | UNIX for Dummies Questions & Answers | 1 | 05-29-2002 04:04 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Long time since I used "expect"
Hello all,
It's been a few years since I touched 'expect' and just got it on my system. In the past, I could simply do the following: (this is just a simple example) $ expect $ ls -l $ pwd $ exit ...then a default script name would be placed in my working directory. At this point I could rename the file, edit it, etc... and when I felt the need to run the script I could: $expect <filename> When trying to use expect today, I'm able to do everything mentioned above, EXCEPT no default scriptname is placed in my working directory?? After 'exit', what happens? Am I forgetting to place an argument when running expect? Is the default script name being dumped somewhere else?I'm running Solaris 2.9. Expect ver = 5.25.0 Also, I only have access to the expect binary as it resides on an app-server and the man pages are not enabled. Any help would be appreciated....Thanks! ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|