EN VI
Posts (0)
Questions (2)
2024-03-10 20:00:06
You need to put quotes around printf : expect -c 'spawn ssh -t MYHOST@MYSERVER "printf '"'"'\[\\33\[01\;32m\ \ A\ MESSAGE\ TO\ BE\ SHOWN\ \ \\33\[01\;37m\]\\n'"'"'; bash"; expect "Password:"; send "s...
Tags: bash ssh formatting
2024-03-17 01:30:06
Creating an object array instead of a double array fixes the problem: string a = String.Format("{0} {1:0.00000000e+000} {2:0.00000000e+000}", new object[] { 1, 2, 3 }); The pro...
Tags: c# string formatting

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login