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

Machines list with newlines drops first argument #31

Closed
mmontag opened this issue Jun 23, 2014 · 2 comments
Closed

Machines list with newlines drops first argument #31

mmontag opened this issue Jun 23, 2014 · 2 comments

Comments

@mmontag
Copy link

mmontag commented Jun 23, 2014

When I try, for example,

i2cssh -m `printf "foo\nbar\nbaz"`

the first argument foo gets ignored and a window opens with connections to bar and baz. Not sure if this is supported – if not, I guess that makes this a feature request. :)

@wouterdebie
Copy link
Owner

Can you tell me why you want the newlines? The idea with -m is that you separate hosts with a comma. In your case this would simply be i2cssh -m foo,bar,baz

@mmontag
Copy link
Author

mmontag commented Mar 5, 2016

Something silly like i2cssh -m find-nodes role=weblogin | egrep -v 'sjc'`` .

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