Option 'U' --> U**x <-> OS/2 Style Records.  By default QTGrep reads text files and translates all Carriage Return/Line Feed pairs found to single Line Feeds under OS/2.  This translation does not take place under the U**x style OSs.

The single Line Feeds are normally used as the record delimitor.

Under OS/2, if the translation of Carriage Return/Line Feed pairs to single Line Feeds is not desired, this option will force QTGrep not to do so.

This option also toggles the use of Carriage Return/Line Feed pairs  and single Line Feeds as the default record delimitor.

Note:  If the user desires to stop the conversion of Carriage Return/Line Feed pairs and continue using the single Line Feed as the record delimitor, the 'X' option should be used.

Note: If either U**x or OS/2 style record delimitors are desired, or if the delimitor style of the input file is not known, then the 'x' option may be used.

This option may be used in conjunction with the '#t' expressions set in expression files for controlling how files are read and records determined. If a file normally contains single Line Feeds, which the user does not desire to act as record separators, then this option should be used.

The following table summarizes the effects of the 'U', 'X' and 'x' options:
Option
True Option Value
FALSE Option Value
Initial State
File translation mode
(OS/2 only - always binary under U**x)
U
cl
l
FALSE
TRUE/binary - FALSE/text
X
l
-----------------
FALSE
TRUE/binary - FALSE/text
x
cl/r/l
-----------------
FALSE
force binary

Where:
    cl     --> carriage return/line feed combination record terminator
    l      --> single line feed record terminator
    cl/r/l --> carriage return/line feed, single carriage return or line feed

    text   --> translate cl to l on input (OS/2 only)
    binary --> no translation as above done (always this under U**x)

This is a local option and may be turned on or off for separate files as desired.

Incompatible Options Are:
W
Write Compiled Search Patterns
X
Force U**x Style Records
Z
File  Preview
x
recognize either single line feeds or carriage return/line feed pairs



© Terry D. Boldt 1997-2005
All Rights Reserved
Last Updated: Feb. 03, 2005