Path: utzoo!utgpu!jarvis.csri.toronto.edu!me!radio.astro!utmanitou!lsuc!dave From: dave@lsuc.uucp (David Sherman) Newsgroups: comp.sources.d Subject: Re: bsplit (binary file split) Message-ID: <1988Dec18.101912.5463@lsuc.uucp> Date: 18 Dec 88 15:19:09 GMT Organization: Law Society of Upper Canada, Toronto Lines: 16 Uh, why do you need a new tool for this? dd bs=512 count=100 if=$1 of=xaa dd bs=512 skip=100 count=100 if=$1 of=xab dd bs=512 skip=200 count=100 if=$1 of=xac If you need a more general tool, it'd be simple enough to hack up a sh loop using expr to increment the skip and output-file arguments appropriately. David Sherman The Law Society of Upper Canada Toronto -- Moderator, mail.yiddish { uunet!attcan att pyramid!utai utzoo } !lsuc!dave