On 28-Sep-99 Tim Walberg wrote:
> On 09/28/1999 10:19 +1000, A mole wrote:
>>>
>>> Sounds like you want truncate() but I don't know any command line
>>> interfaces to it. tail and head and it's friends will amount to a
>>> copy/replace and replace too..
>
> truncate will remove the data after a given offset from a file; seems like
> that's the opposite of what's wanted here - saving the last part of the
> file while trashing the beginning.
-------------------------------
Date: 28-Sep-99
Time: 17:36:56
Location: Bayreuth, Germany
-------------------------------
I'm sorry, it seemed I expressed myself a bit wrong, but
nevertheless I got some very good and interesting answers.
I didn't know about dd's nseek= option (which is very useful vor me).
In fact, I want to truncate (excuse me, I'm German, I didn't
know that word ;-). Cutting away the pregap from the end of a
CD-image, for example. I now received a perl skript (thanx A mole)
which does the job.
Greetings
Rob
----------------------------------