We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A medium complex command (safe mode disable) is causing this error
ruby-1.9.3-preview1 :047 > rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user" SyntaxError: (irb):47: syntax error, unexpected tIDENTIFIER, expecting $end rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user" ^ from /Users/riccardotacconi/.rvm/rubies/ruby-1.9.3-preview1/bin/irb:16:in <main>' ruby-1.9.3-preview1 :048 > rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user" SyntaxError: (irb):48: syntax error, unexpected tIDENTIFIER, expecting $end rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user" ^ from /Users/riccardotacconi/.rvm/rubies/ruby-1.9.3-preview1/bin/irb:16:in
<main>' ruby-1.9.3-preview1 :048 > rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user" SyntaxError: (irb):48: syntax error, unexpected tIDENTIFIER, expecting $end rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user" ^ from /Users/riccardotacconi/.rvm/rubies/ruby-1.9.3-preview1/bin/irb:16:in
So execute does not like \n
I would like to know how to respond to a server prompt, like send/expect
The text was updated successfully, but these errors were encountered:
delano
No branches or pull requests
A medium complex command (safe mode disable) is causing this error
ruby-1.9.3-preview1 :047 > rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user"
'SyntaxError: (irb):47: syntax error, unexpected tIDENTIFIER, expecting $end
rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user"
^
from /Users/riccardotacconi/.rvm/rubies/ruby-1.9.3-preview1/bin/irb:16:in
<main>' ruby-1.9.3-preview1 :048 > rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user" SyntaxError: (irb):48: syntax error, unexpected tIDENTIFIER, expecting $end rbox.execute "echo -e "new_passwd\nnew_passwd" | passwd a_user" ^ from /Users/riccardotacconi/.rvm/rubies/ruby-1.9.3-preview1/bin/irb:16:in
So execute does not like \n
I would like to know how to respond to a server prompt, like send/expect
The text was updated successfully, but these errors were encountered: