compare.ignoreCase parameter

The compare.ignoreCase parameter determines whether differences in character case are significant when comparing files with the compare command.

 

Availability

query command
set command

 

Scope

compare.ignoreCase is scoped to the current view.
current.compare.ignoreCase is scoped to the current view.
default.compare.ignoreCase is globally scoped.
install.compare.ignoreCase is globally scoped.

 

Syntax

query compare.ignoreCase
set compare.ignoreCase [default | on | off]
query current.compare.ignoreCase
query default.compare.ignoreCase
set default.compare.ignoreCase [install | on | off]
query install.compare.ignoreCase 

 

Parameters

default If you specify the default parameter for the set compare.ignoreCase command, the current view will use the value of default.compare.ignoreCase to determine if the compare command should be case sensitive.
on If you specify the on parameter for the set compare.ignoreCase command, the compare command will not be case sensitive for the current view.  If you specify the on parameter for the set default.compare.ignoreCase command, the compare command will not be case sensitive for all of the document views that have compare.ignoreCase set to default.
off If you specify the off parameter for the set compare.ignoreCase command, the compare command will be case sensitive for the current view.  If you specify the off parameter for the set default.compare.ignoreCase command, the compare command will be case sensitive for all of the document views that have compare.ignoreCase set to default.
install If you specify the install parameter for the set default.compare.ignoreCase command, all of the document views that have compare.ignoreCase set to default will use the value of install.compare.ignoreCase to determine if the compare command should not be case sensitive.

 

Description

The query compare.ignoreCase command returns the case sensitivity setting that will be used by the compare command.

If you do not specify any of the parameters for the set compare.ignoreCase command, default is assumed.  If you do not specify any of the parameters for the set default.compare.ignoreCase command, install is assumed.

The query current.compare.ignoreCase command returns on if, for the current view, the compare command will not be case sensitive, and off if, for the current view, the compare command will be case sensitive.

 

Examples

query compare.ignoreCase
set compare.ignoreCase on
query current.compare.ignoreCase
query default.compare.ignoreCase
set default.compare.ignoreCase off
query install.compare.ignoreCase 

Related reference
compare command
query command
set command
compare.columns parameter
compare.endColumn parameter
compare.ignoreAllBlanks parameter
compare.ignoreComments parameter
compare.ignoreLeadingBlanks parameter
compare.ignoreSequenceNumbers parameter
compare.ignoreTrailingBlanks parameter
compare.startColumn parameter
current parameter
default parameter
install parameter