Option 'X' --> Force U**x 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.
This option forces QTGrep to use a single Line Feed as the record
terminator.
Under OS/2, this option also toggles 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
|
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