Path: utzoo!attcan!uunet!cs.utexas.edu!uwm.edu!lll-winken!bu.edu!bu-cs!lectroid!ddsw1!mcdchg!ethos!att!cbnews!res From: res@cbnews.ATT.COM (Robert E. Stampfli) Newsgroups: unix-pc.general Subject: Re: bsplit? Message-ID: <13756@cbnews.ATT.COM> Date: 5 Feb 90 23:04:54 GMT References: <1990Feb3.170608.600@cs.rochester.edu> Reply-To: res@cbnews.ATT.COM (Robert E. Stampfli,55216,cb,1C315,6148604268) Organization: AT&T Bell Laboratories Lines: 16 >The real problem, though is that you can't feed the script from a >pipe. dd is almost unique among the unix tools in that it >uses read() rather than fread() and will fail to read the >requested amount if the input pipeline cannot stay ahead. Yes. One way of dealing with this, although it may not be the most efficient, is to change instances of ... | dd -args | ... to ... | dd bs=whatever | dd -args | ... This has worked in a pinch for me several times. -- Rob Stampfli / att.com!stampfli (uucp@work) / kd8wk@w8cqk (packet radio) 614-864-9377 / osu-cis.cis.ohio-state.edu!kd8wk!res (uucp@home)