PTC MKS Toolkit Knowledge Base

Product:MKS Toolkit (All)
Keywords:double parenthesis, test
Category:Utilities/Knowledge Base

Why doesn't the KornShell recognize the double parenthesis syntax: (( ))?

(( )) is korn syntax. By default the MKS KornShell does not support it. To change this put the shell in korn mode using set -o korn. For an alternate syntax look at the reference page for the test command (i.e. man test).

By default the MKS KornShell follows the POSIX.2 standards and does not support (( )).