[EMAIL PROTECTED] wrote:

> >From: [EMAIL PROTECTED] (Bill Davidsen)
> 
> >Also noted in passing, while some implementations of 'tail' have a -b
> >option, a block can be 512 or 1024 bytes, making it a bit
> >non-deterministic. I don't have a POSIX.1 here, but I have to feel that
> >the count by lines and bytes are more likely to produce postable
> >results. Since implementations of tail predate POSIX, standard and
> >portable are not the same thing, so let's not reopen a discussion of
> >that.
> 
> All implementations I know use 512 byte. You need it when you like to go back more 
> then 64kB.

  I didn't realize the standard required that, on Linux or AIX you just use the
"c" option to get what you would like:
  deathstar:davidsen> zcat /tmp/lp2/LocalPosts.199912.gz | tail -150000c | wc -c
    150000

  I'm sure there's some limit to characters, but I haven't hit it yet.

-- 
   -bill davidsen ([EMAIL PROTECTED])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to