*BSD News Article 99860


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.inetnebr.com!news.enteract.com!newsfeed.enteract.com!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!su-news-feed4.bbnplanet.com!news.bbnplanet.com!netapp.com!netapp.com!not-for-mail
From: guy@netapp.com (Guy Harris)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: how to cut a piece of file?
Date: 17 Jul 1997 16:58:11 -0700
Organization: Network Appliance
Lines: 11
Message-ID: <5qmbij$37i@tooting.netapp.com>
References: <33CCD3A6.CADC65F7@mcnet.ch> <5qjq62$pdt$1@news2symp>
NNTP-Posting-Host: tooting.netapp.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44592

Gardner Buchanan <gbuchanan@on.sympatico.ca> wrote:
>Alternatively you could write a simple program based around read(2),
>write(2) and lseek(2).

Or use an existing program using "read()", "write()", and "lseek()",
e.g. "dd".  (See the "skip=" option.)
-- 
Reply, or follow up, but don't do both, please.

postmaster@localhost
postmaster@127.0.0.1