This is the mail archive of the
cygwin
mailing list for the Cygwin project.
<<expr 100 * 100>> returns syntax error
- From: <45ownu+e60iporpd8lec at guerrillamail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 28 Jul 2016 12:55:43 +0000
- Subject: <<expr 100 * 100>> returns syntax error
- Authentication-results: sourceware.org; auth=none
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
------------------------------------------------
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.
----
Sent using GuerrillaMail.com
Block or report abuse: https://www.guerrillamail.com/abuse/?a=QlhzEgQOY7cMjxm9%2FjAcfRk%3D
--
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