Bill Becker wrote:
> How about the "seek" function?
> >
> > Is it possible to open a file, read the data from the first line, twiddle
> > that data, then overwrite the data ...
> > Richard
Seems you wish ot have something like the read funtion, which can read
e.g. 20 characters starting from some offset (which also could be
defined by the funtion seek).
I am sorry that the Shuck explanation is somewhat clear in this issue:
"Note that write is NOT the opposite of read. Unfortunately."
And no link to some other command for that task is given.
This is what google offers at
http://www-tet.ee.tu-berlin.de/solyga/linux/:
===diskwrite=== - write to file at given offset
.... if you want to put some bytes to your harddisk at offset
0xffffffff you may want to do it with diskwrite. (lsm-entry)
So if you have to diskwrite on a Linux server, this could be a solution.
Detlef
================================
- - - Ohne Fragen keine Erkenntnis - - -
================================