set outputrecordlength
set outputrecordlength= { n | infinity}
This command specifies the preferred maximum length, n, of output lines written when saving a file. All characters (including tags and their delimiters) are counted against outputrecordlength. Lines that are longer than the outputrecordlength command setting are broken where a record end is not significant. Lines in "asis" sections (including SGML/XML comments) or lines ending with strings where line breaks may be significant (such as in attribute values or entity declarations) may exceed the outputrecordlength setting.
The minimum value for outputrecordlength is 40. The default is 72.
Setting outputrecordlength to infinity, causes no specific output record length to be set and no insignificant line breaks will be included in the selection or file, preventing line breaks in PCDATA.
You can specify the -local option (as part of the set command option list) to cause outputrecordlength to have a document-scope setting, only affecting the current document. Otherwise, outputrecordlength affects the session, meaning all documents use the current session value. You can override the current value by issuing a subsequent outputrecordlength setting.
orl is a synonym for outputrecordlength.
Related Topics