From: "Sammy Mitchell"
> 1) WHAT IS 0D (in HEX)
As someone else replied, this is the Carriage Return character. Just for
your edification , The MS family of OS'es saves text files with each
line terminated by a 0dh 0ah (Carriage Return Line Feed) pair - I believe
that
this was a legacy from CP/M. In the MAC world, 0dh only is used. In the
UNIX world, 0ah only is used. Many a programmer has often wished that the
UNIX approach had been used for MS-DOS and Windows. Sure would make
scanning for eol much easier (and faster!)
> 2) How come it can't be seen in TSE32 (Hex mode).
Because TSE does not display the end-of-line characters unless you edit a
file in binary mode.
> 3) How can it be removed using TSE32.
Load the file in binary mode (-b on the command line) and delete it, then
save the file.
You might also try the As-Loaded line termination option. If the file in
question has a consistent end-of-line (each line ends in the same character,
not a mixture of end-of-line types), then using this option will allow a MS
style file to be loaded and saved as such, and a UNIX style file to be
loaded and saved as such.
Sammy Mitchell
SemWare Corp.
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|