On Saturday, Sep 13, 2003, at 05:52 US/Pacific, Sara wrote:
[..]
2. I have DB with 4-8 digits number in each line e.g.
1238483
92933
09983433
093
The truncate function truncates the file very abruptly
[..]
well actually there are various types of DB's - some
such as SDBM_File will have 'informati
Sara wrote:
> open (DB, "+
> truncate (DB, 1024);
>
> close DB;
>
>
>
> 1. This truncate the file from bottom .. Is there a way the
> file can truncated from the top?
No. You have to rewrite the file contents to delete from the beginning of
the file.
>
> 2. I have DB with 4-8 digits numbe
open (DB, "+