what is espect? can you tell in detail or roughly idea about it.
tx
Main Topics
Browse All Topicshi all,
i need to know is there any way to automate interactive command such as passwd. instead you have to keyin everytime login and passwd when want to change it using a script to do it.
thanks in advances
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Check out: http://expect.nist.gov/
i got an error when try to install expect.
# ./configure
configuring Expect 5.32.1
checking for autoconf... no
checking configure up to date... yes
checking host system type... sparc-sun-solaris2.5.1
checking target system type... sparc-sun-solaris2.5.1
checking build system type... sparc-sun-solaris2.5.1
checking shell to use within Make...
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for building with threads... no (default)
checking for Tcl configuration... found /data/temp/tcl8.3.2/unix/t
checking Tcl build library... -L/data/norehan/tcl8.3.2/u
checking for Tcl_CreateCommand... no
checking if Tcl library build specification is valid... no
checking for Tk configuration... configure: warning: Can't find Tk configuration definitions
checking for Tk_Init... no
checking if Tk library build specification is valid... no
checking whether the compiler (cc) actually works... configure: error: the native compiler is broken and won't compile.
what it is means?
tx in advanced
If you're running Solaris you can download an expect binary from: http://www.sunfreeware.com
thanks guys for da help. i already done the installation and can use the expect.
from my observation, the expect command can be use for one time only. means if i have flat file contain two fields, hows this input can be reading with expect command? example like change passwd. if i wanna change several passwd, hows am using expect command to do it? is there any way expect can read flat file ?
tx in advanced
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:
- Answered by gurpreets
Please leave any comments here within the next 7 days
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
tfewster
Cleanup Volunteer
Business Accounts
Answer for Membership
by: gurpreetsPosted on 2000-09-20 at 00:09:15ID: 4367676
you can use expect for this