And it's a good practice when running something like this (i.e. via something Expect-ish) to "sanitize" the remote environment. Things such as setting your prompt to a (simple) static value and sending the PATH you're expecting to be be in effect makes looking for prompts and debugging so much easier and more dependable. Save the angry fruit salad with 4 different typefaces for interactive use.
In reply to Re^2: odd escape chars in strings obtained by SSH
by Fletch
in thread odd escape chars in strings obtained by SSH
by danmcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |