### LC_SYNTAX Locale Category

The LC_SYNTAX category source definition in locale source files defines the variant characters from the portable character set in the locale that is compiled from that source by the LOCALDEF utility.

Customizing the LC_SYNTAX category is not recommended. You should use the LC_SYNTAX values obtained from the charmap file.

The operands for the characters in the LC_SYNTAX category accept the single byte character specification in the form of a symbolic name, the character itself, or the decimal, octal, or hexadecimal constant. The characters must be specified in the LC_CTYPE category as a punct character. The values for the LC_SYNTAX characters must be unique. If symbolic names are used to define the encoding, only the symbolic names listed for each character should be used.

The code points for the LC_SYNTAX characters are set to the code points specified. Otherwise, they default to the code points for the respective characters from the charmap file, if the file is present, or to the code points of the respective characters in the IBM-850 code page.

The following keywords make up this category definition:

copy backslash right_brace left_brace right_bracket | left_bracket circumflex tilde exclamation_mark number_sign | vertical_line dollar_sign commercial_at grave_accent

`copy`
Specifies the name of an existing locale to be used as the source for the definition of this category. If you specify this keyword, no other keyword should be present.

If the locale is not found, an error is reported and no locale output is created. The copy keyword cannot specify a locale that also specifies the copy keyword for the same category.

`backslash`
Specifies a string that defines the value used to represent the backslash character. If this keyword is not specified, the value from the `charmap` file for the character `<backslash>`, used, if it is present.

`right_brace`
Specifies a string that defines the value used to represent the right brace character. If this keyword is not specified, the value from the `charmap` file for the character `<right-brace>`, `<right-curly-bracket>`, or `<SM14>` is used, if it is present.

`left_brace`
Specifies a string that defines the value used to represent the left brace character. If this keyword is not specified, the value from the `charmap` file for the character `<left-brace>`, `<left-curly-bracket>`, or `<SM11>` is used, if it is present.

`right_bracket``
` Specifies a string that defines the value used to represent the right bracket character. If this keyword is not specified, the value from the `charmap` file for the character `<right-square-bracket>`, or `<SM08>` is used, if it is present.

`left_bracket`
Specifies a string that defines the value used to represent the left bracket character. If this keyword is not specified, the value from the `charmap` file for the character `<left-square-bracket>`, or `<SM06>` is used, if it is present.

`circumflex`
Specifies a string that defines the value used to represent the circumflex character. If this keyword is not specified, the value from the `charmap` file for the character `<circumflex>`, `<circumflex-accent>`, or `<SD15>` is used, if it is present.

`tilde``
` Specifies a string that defines the value used to represent the tilde character. If this keyword is not specified, the value from the `charmap` file for the character `<tilde>`, or `<SD19>` is used, if it is present.

`exclamation_mark``
` Specifies a string that defines the value used to represent the exclamation mark character. If this keyword is not specified, the value from the `charmap` file for the character `<exclamation-mark>`, or `<SP02>` is used, if it is present.

`number_sign`
Specifies a string that defines the value used to represent the number sign character. If this keyword is not specified, the value from the `charmap` file for the character `<number-sign>`, or `<SM01>` is used, if it is present.

`vertical_line`
Specifies a string that defines the value used to represent the vertical line character. If this keyword is not specified, the value from the `charmap` file for the character `<vertical-line>`, or `<SM13>` is used, if it is present.

`dollar_sign`
Specifies a string that defines the value used to represent the dollar sign character. If this keyword is not specified, the value from the `charmap` file for the character `<dollar-sign>`, or `<SC03>` is used, if it is present.

`commercial_at``
` Specifies a string that defines the value used to represent the commercial at character. If this keyword is not specified, the value from the `charmap` file for the character `<commercial-at>`, or `<SM05>` is used, if it is present.

`grave_accent``
` Specifies a string that defines the value used to represent the grave accent character. If this keyword is not specified, the value from the `charmap` file for the character `<grave-accent>`, or `<SD13>` is used, if it is present.

Example: LC_SYNTAX Locale Category Definition

Internationalization
Localization and Locales

Customize a Locale

LOCALDEF Utility
Locale Categories
Locale Source Files