Newsgroups: comp.sources.d Path: utzoo!lsuc!dave From: dave@lsuc.uucp (David Sherman) Subject: Re: bsplit (binary file split) Date: Sun, 18-Dec-88 10:19:09 EST Message-ID: <1988Dec18.101912.5463@lsuc.uucp> Organization: Law Society of Upper Canada, Toronto 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