4 ms·
"Real" languages use "=" and "==" ;) Was unfamiliar with the minefield of bash issues, still, I do like the -eq operator, even if bash implements it poorly.
by d0lph 9y ago
"Real" languages use "=" and "==" ;)
Was unfamiliar with the minefield of bash issues, still, I do like the -eq operator, even if bash implements it poorly.
- JdeBP 9y agoOn the contrary, a real language uses .EQ. . == is for the chattering classes who use the # sign when posting to social media. You appear to be eating quiche. (-: * http://gordonbell.azurewebsites.net/ibm-026/ibm-026-ref-27.jpg http://gordonbell.azurewebsites.net/ibm-026/ibm-026-ref-27.j... Rex Conn knows how a real language does relational operators. * https://jpsoft.com/help/conditionalexpressions.htm#r https://jpsoft.com/help/conditionalexpressions.htm#r