Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Off Topic: Looking for good Expect scripts

by salva (Abbot)
on Jun 28, 2013 at 08:05 UTC ( #1041171=note: print w/replies, xml ) Need Help??


in reply to Re^2: Off Topic: Looking for good Expect scripts
in thread Off Topic: Looking for good Expect scripts

True, interacting with a shell reliably is not simple, but neither are many other tasks

The point is that there are other ways to accomplish what you are doing here that are actually reliable and simple.

  • Comment on Re^3: Off Topic: Looking for good Expect scripts

Replies are listed 'Best First'.
Re^4: Off Topic: Looking for good Expect scripts
by 5mi11er (Deacon) on Jun 28, 2013 at 19:41 UTC
    Like what?

    I'll give you it's possible to use ssl key authentication for automatically logging into cisco devices, but that's not an option via telnet, and if you've got more than 600 devices that you don't remember which small subset are still on old enough code they don't yet do SSH, this can come in handy.

    When you're dealing with hundreds or thousands of devices and need to make a small change to a large number of them, there's no way to accomplish that without using something like expect; at least I don't know of one now. If you do, please enlighten.

    -Scott

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041171]
help
Chatterbox?
[shmem]: ctags is a program which (recursively) extracts the symbols from source and stores them in a one-file database. This allows you to query the locations where these symbols (e.g. a subroutine name) are used anywhere in the source code tree...
[shmem]: ...from inside the editor.
[shmem]: apt-get install exuberant-ctags
[Lady_Aleena]: I think I heard vim has a big learning curve.
[shmem]: then in the root of your source tree run: ctags -R
[shmem]: you get a file named tags where all symbols and the places where they are used are listed
[Lady_Aleena]: geany may not support that.
[shmem]: I see that there is a plugin geany-plugin- codenav
[shmem]: maybe that supports ctags, check the documentation

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2017-04-27 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (506 votes). Check out past polls.