Option 'x' --> U**x, DOS or Apple Style Records. By default QTGrep reads 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.

This option forces QTGrep to recognize either Carriage Return/Line Feed pairs, single Line Feeds or single Carriage Returns as the record delimitor.

Under OS/2, this option also forces QTGrep to stop the translation of Carriage Return/Line Feed pairs to single Line Feeds.

This option may be used in conjunction with the '#t' expressions set in expression files for controlling how files are read and records determined.

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
U
U**x <-> OS/2 Style Records
X
Force U**x Style records
Z
File  Preview


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