05-21-2014
why do you use interact
try change to "interact" to "expect eof" (or just remove "interact" ) and re-try
regards
ygemici
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies
2. Shell Programming and Scripting
Hi,
I have a developer that is trying to start a script with sh "scriptname". In the script, he is specifying #!/usr/bin/ksh as the command interpreter. For some reason sh is ignoring the #!/usr/bin/ksh. We are running Solaris 8. Does anyone have any ideas what could be causing this? Here... (3 Replies)
Discussion started by: ckeith79
3 Replies
3. Shell Programming and Scripting
Hello all,
I have the following script (still in early stages), and although I can't help but think that the problem is very simple, I can't think of a solution. My script can't see binaries in /usr/bin. This isn't a problem with my login shell as I can execute these commands OK there. I've... (1 Reply)
Discussion started by: michaeltravisuk
1 Replies
4. Solaris
Hi all,
below is the problem details:
ora10g@CNORACLE1>which ld
/usr/ucb/ld
ora10g@CNORACLE1>cd /usr/ccs/bin
ora10g@CNORACLE1>ln -s /usr/ucb/ld ld
ln: cannot create ld: File exists
ora10g@CNORACLE1>
how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies
5. UNIX for Dummies Questions & Answers
Hi!
All the basic linux commands, ie. echo, find, etc, are located in /bin. I have a couple of programs that have these commands pointed towards /usr/bin, ie, /usr/bin/echo (even though the actual 'echo' command is in /bin). How can I alias or redirect or link the /usr/bin to /bin just for this... (6 Replies)
Discussion started by: dancerat
6 Replies
6. OS X (Apple)
Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself.
But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies
7. Solaris
Hi Experts,
I found that the same commands(sort, du, df, find, grep etc.) exists in both dir.
What is the difference to use them?
i.e: to use xpg4/bin/grep and usr/bin/grep
My OS version is SunOS 5.10
Regards,
Saps (7 Replies)
Discussion started by: saps19
7 Replies
8. Shell Programming and Scripting
Hi,
I have been programming with the expect program for a while now and have create a series of menu driven checks for the operations team. One thing I have noticed is that I call a remote script and pass parameters and this is display on the screen....for example.
Within the script
... (0 Replies)
Discussion started by: yakky
0 Replies
9. BSD
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
LEARN ABOUT OSX
moosex::types::base
MooseX::Types::Base(3) User Contributed Perl Documentation MooseX::Types::Base(3)
NAME
MooseX::Types::Base - Type library base class
VERSION
version 0.35
DESCRIPTION
You normally won't need to interact with this class by yourself. It is merely a collection of functionality that type libraries need to
interact with moose and the rest of the MooseX::Types module.
METHODS
import
Provides the import mechanism for your library. See "LIBRARY USAGE" in MooseX::Types for syntax details on this.
get_type
This returns a type from the library's store by its name.
type_names
Returns a list of all known types by their name.
add_type
Adds a new type to the library.
has_type
Returns true or false depending on if this library knows a type by that name.
type_storage
Returns the library's type storage hash reference. You shouldn't use this method directly unless you know what you are doing. It is not an
internal method because overriding it makes virtual libraries very easy.
registered_class_types
Returns the class types registered within this library. Don't use directly.
register_class_type
Register a "class_type" for use in this library by class name.
get_registered_class_type
Get a "class_type" registered in this library by name.
registered_role_types
Returns the role types registered within this library. Don't use directly.
register_role_type
Register a "role_type" for use in this library by role name.
get_registered_role_type
Get a "role_type" registered in this library by role name.
SEE ALSO
MooseX::Types::Moose
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.
AUTHOR
Robert "phaylon" Sedlacek <rs@474.at>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Robert "phaylon" Sedlacek.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.2 2012-05-18 MooseX::Types::Base(3)