Re: send & spawn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13Oct2007 13:00, Andy Green <andy@xxxxxxxxxxx> wrote:
| Somebody in the thread at some point said:
| > I am trying to run a Bash script that uses 'expect', 'send' and 'spawn'.

Please show us the script.

| > I have installed 'expect' but cannot find out what rpm's contain 'send'
| > and 'spawn'
| > 
| > Can you tell me where these are?
| 
| # yum whatprovides /usr/bin/send
| 
| nmh.i386                                 1.2-20070115cvs.3.fc7  fedora
| 
| Matched from:
| /usr/bin/send
| /usr/bin/send
| 
| package nmh provides /usr/bin/send, nothing provides a "spawn".... they
| seem to be curiously generic names though...

Yeah, which is why nmh's install should have its commands off in a
subdirectory somewhere, not in the main $PATH.

| are you sure they aren't
| functions defined elsewhere in the bash script maybe?

I seem to recall they're part of expect itself, used to do I/O and
process forking. And thus not separate commands.  (Goes and reads "man
expect", like the OP should have...)

Yep, they're part of expect';s scripting language.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

If you can't annoy somebody, there's little point in writing.
        - Kingsley Amis

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux