Skip to main content

Timeline for Invert boolean variable

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Aug 21, 2019 at 19:51 comment added Stéphane Chazelas With the [ builtin of ksh, [ x -eq y ] return true if the x arithmetic expression resolves to the same number as the y arithmetic expression so for instance x=2 true=1+1 ksh -c '[ x -eq true ] && echo yes' would output yes.
Nov 13, 2011 at 8:48 vote accept breedish
Nov 12, 2011 at 23:24 history answered Gilles 'SO- stop being evil' CC BY-SA 3.0