Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!hplabs!tektronix!reed!omssw2!tw From: tw@omssw2.UUCP (tom walsh) Newsgroups: net.unix Subject: Re: problem with tail -3540 Message-ID: <499@omssw2.UUCP> Date: Sun, 21-Sep-86 01:57:58 EDT Article-I.D.: omssw2.499 Posted: Sun Sep 21 01:57:58 1986 Date-Received: Sun, 21-Sep-86 22:16:18 EDT References: <917@gilbbs.UUCP> Reply-To: tw@omssw2.UUCP (tom walsh) Followup-To: radioshaft.mikersoft Distribution: na Organization: Intel Corp., OMS Div., Systems Group, Hillsboro, OR Lines: 34 Keywords: tail, pipes, trouble In article <917@gilbbs.UUCP> mc68020@gilbbs.UUCP (Thomas J Keller) writes: > > For some reason, expire doesn't trim my history file when it runs. This >results in a rather largish history file accruing in my lib/news directory >pretty quickly. I tried to use tail to trim the head end off of the >history file and output the result to another file, but it won't work. >I typed: >tail -3540 history > newhist >what I get is the last 72.? lines of history. Interestingly enough, the >output file is *ALWAYS* 4096 bytes in length. On my system, that is the >size of a pipe buffer (am I saying that right?). In any case, I can't see >any reason why this should be the case. >Oh...I am running XENIX 3.0 on a Tandy 6000. >please ***HELP***?????? >Disclaimer: Disclaimer? DISCLAIMER!? I don't need no stinking DISCLAIMER!!! >tom keller "She's alive, ALIVE!" >{ihnp4, dual}!ptsfa!gilbbs!mc68020 >(* we may not be big, but we're small! *) there is an array declared of size 4096. sorry, but it's not my fault... -tw ps: my employer did not cause this either. pss: there are similar problems with dd and skip/count/bs microsoft!\ ogcvax! \ reed! \ ! >omssw2!tw (i think...) omssw1! / intelcs! / intelisc!/ ..tektronix!ogcvax!omssw1!omssw2!tw