[EMAIL PROTECTED] wrote:

> >From: [EMAIL PROTECTED] (Bill Davidsen)
> 
> >[EMAIL PROTECTED] wrote:
> 
> >> 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.
> 
> 64k is the limiting factor when you specify "lines" - the default.
> 
> as blocks are easier to type I use blocks when I whant to go back further and
> if I do this on Linux, it does not work!

I see this:
  newssvr15:root> tail -70000 /var/log/debug | wc
    70000 1255826 12390095
  newssvr15:root> uname -a; uptime
  Linux newssvr15.news.prodigy.com 2.4.5-ac5 #4 SMP Wed Jun 6 12:37:23 EDT 2001 i686 
unknown
    1:28pm  up 11 days, 22:18,  5 users,  load average: 0.99, 1.10, 1.26
  newssvr15:root> 

And on the oldest systems I could find easily:
gatekeeper:davidsen> tail -70000 mail/inn-workers | wc
  70000  388964 3279144
gatekeeper:davidsen> uptime; uname -a
  1:37pm  up 73 days, 16:12,  7 users,  load average: 0.25, 0.07, 0.02
Linux gatekeeper 2.1.106 #11 Sun Dec 6 14:08:00 EST 1998 i686 unknown

newsutil1:davidsen> tail -75000 /home/davidsen/nsmail/Trash | wc
  75000  112995 4554404
newsutil1:davidsen> uname -a; uptime
Linux newsutil1 2.1.131 #4 SMP Thu Dec 10 10:59:04 EST 1998 i686 unknown
  1:41pm  up 124 days, 21:46,  5 users,  load average: 0.13, 0.03, 0.01


I can't seem to find this behaviour on any Slackware, SuSE or Redhat
system even on systems last modified in 1968. This looks as if it works
fine. You're not running obsolete software are you? Or your own custom
version of 'tail'?

-- 
   -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