On 28/07/2016 14:55, 45ownu+e60iporpd8...@guerrillamail.com wrote:
Steps to reproduce (I cannot update cygwin on this server, but it also happen
on 2.5.2(0.297/5/3)):
Main window:
$ uname -r
1.7.25(0.270/5/3)
$ expr 100 * 100
10000
---------------
Other window:
$ $ uname -r
1.7.25(0.270/5/3)
$ HOST=myhostname
$ echo 'whatever' > $HOST.txt
---------------
Main window:
$set -xv
$expr 100 * 100
+ expr 100 myhostname.txt 100
syntax error
clearly here you have bash expending the *
you can solve it by escaping the *
$ expr 100 \* 100
10000
------------------------------------------------
When this happen I can only fix by rebooting the server, which is obviously
unideal!
Here my questions:
1) How can I reset cygwin to the initial behaviour without rebooting?
2) why does this happen? how to prevent this?
Thank you :)
F.
Regards
MArco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple