[ < < < Home ] [ < < Reference Start ] [ < Reference Contents ]
[ < Previous=PDGREPPE Byte Types ] [ Next=PDGREPPE Escape Byte > ]

Intelligence Services

PDGREPPE Double Bytes

 \0B<0-16 1's>    double-byte 0 to 65535  Binary
 \0O<0-177777>    double-byte 0 to 65535  Octal
 \0D<0-65535>     double-byte 0 to 65535  Decimal
 \0H<0-fffff>     double-byte 0 to 65535  Hex
 \0X<0-fffff>     double-byte 0 to 65535  Hex

 \N     New line sequence       or \r\n

These are used to designate UNICODE or TWO byte characters:


        pdgreppe -Hjc "\0X0A0D" file_id.diz


..."\0X0A0D" finds all new-line sequences:

        HEX 0A is LineFeed      or 10 Decimal
        HEX 0D is Return        or 13

The DOS NewLine is Return followed by LineFeed in file_id.diz.

An easier way to use it is with the escape sequence "\N".

The standard New Line sequence for IBM PC DOS is two bytes:
\r (RETURN) followed by \n (LINEFEED).


        pdgreppe -Hjc "\N" file_id.diz


..."\N" finds all end-of-line (\N) areas in file_id.diz.

This can also be put in a [Range] specification like [\N].

[ < < < Home ] [ < < Reference Start ] [ < Reference Contents ]
[ < Previous=PDGREPPE Byte Types ] [ Next=PDGREPPE Escape Byte > ]

Intelligence Services

© Intelligence Services 1987 - 2008   GPO Box 9,   ADELAIDE SA 5001,   AUSTRALIA
EMAIL   :   intlsvs@gmail.com