A
Anony-mouse
Hi,
I'm trying to find a way to replace characters in a file, but have run
into problems. I'm trying to go through a .DAT file replacing the
characters 015F (in hex) with 015C.
I tried playing around with versions of SED, but the file also contains
EOF control characters which cause that to abort part-way through the
file (although it wasn't doing the replacement anyway).
It also needs to be via the DOS command line or a similar way that can
be performed by a BAT file and be as small as possible since it needs
to run from a keyring Flash drive and still leave enough room for the
data files.
Is Perl going to be able to do this??
Or does anyone know a better way?
_
_/ \___
Anony-mouse says o_/O _/ \
"Eek-eek-eek!" \__/_|_/_|\____/
I'm trying to find a way to replace characters in a file, but have run
into problems. I'm trying to go through a .DAT file replacing the
characters 015F (in hex) with 015C.
I tried playing around with versions of SED, but the file also contains
EOF control characters which cause that to abort part-way through the
file (although it wasn't doing the replacement anyway).
It also needs to be via the DOS command line or a similar way that can
be performed by a BAT file and be as small as possible since it needs
to run from a keyring Flash drive and still leave enough room for the
data files.
Is Perl going to be able to do this??
Or does anyone know a better way?
_
_/ \___
Anony-mouse says o_/O _/ \
"Eek-eek-eek!" \__/_|_/_|\____/