Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variables in seash #41

Closed
choksi81 opened this issue May 24, 2014 · 2 comments
Closed

variables in seash #41

choksi81 opened this issue May 24, 2014 · 2 comments
Assignees

Comments

@choksi81
Copy link
Contributor

Richard Weiss mentioned it would be nice to have a way to set variables in seash. Perhaps something like bash where you could set a variable using: set GENIPORT=123 and then later do: run allpairsping.repy $GENIPORT.

We should think about this.

@choksi81
Copy link
Contributor Author

Author: justinc
I'm not sure about this one as core functionality. I guess we could make a module that does this...

@choksi81
Copy link
Contributor Author

Author: leonwlaw
Support for variables is now live with r6251!

A brief summary of how to setup/use variables:

  1. enable the variables module

    enable variables

  2. Set the variable you want

    set PORT 63100

  3. Use it!

    run allpairsping.repy $PORT
    You can also close with another $. This is not the best use case however.
    run allpairsping.repy $PORT$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants