linebreak Parameter

Defines line break modes.

Scope: File

Syntax

set linebreak Type 
query linebreak 

Option

Type 
The type of line break. The type must be one of the following :
DOS 
Both CR and LF are required. This is the default value.
CRLF 
Both CR and LF are required. This option is the same as DOS.
UNIX 
Only LF is required.
LF 
Only LF is required. This option is the same as UNIX.

Description

The linebreak parameter defines the line break modes. This is used to determine how lines are to be defined. The default mode is DOS, which requires that both CR and LF are present and are adjacent in that order. End-of-file is determined by the sequence CR-LF-EOF or hex 0D0A1A.

Example

To change the line modes, type:

set linebreak crlf 

API Return Code

-2 
Invalid option for the linebreak command.