[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> Michael Hirsch wrote:
> > On 5/24/05, Geoffrey <esoteric at 3times25.net> wrote:
> > 
> >>Michael Hirsch wrote:
> >>
> >>>Correction:  All references to "less" should have been "tail".  RHEL 3
> >>>has a broken tail ;-)
> >>
> >>Then that functionality is not your problem as 'tail' supports both '-'
> >>and '+' switches.
> > 
> > 
> > I hate to disagree with you, but have you tried RHEL 3 lately?  It has
> > been removed on my version.
> 
> That's quite interesting.  I'm on RHEL 4 now, but just upgraded to 4 
> from 3 when 4 came out and I'd swear that at least tail -1 worked.  RHEL 
> 4 does accept both '-' and '+' switches though.
> 

I think this behavior is controllable.  A vanilla version of tail (from GNU
coreutils-5.2.1) can be forced to exhibit the 'obsolete' behavior if the
environment contains the variable '_POSIX2_VERSION' set to some value less
than 200112.

I don't know about RHEL, but FC3 uses a modified tail command so that the
only way to get the 'new' behavior is to define '_POSIX2_VERSION' >= 200112
and also define POSIXLY_CORRECT in the environment.
 
To get the 'obsolete' behavior, I'd suggest trying:
export _POSIX2_VERSION=199209

--Joe



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00904" href="msg00904.html">[ale] Re: Installing j2se on RHEL 3?</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00906" href="msg00906.html">[ale] Re: Installing j2se on RHEL 3?</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00889" href="msg00889.html">[ale] Re: Installing j2se on RHEL 3?</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00901.html">[ale] b'bye</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00903.html">[ale] tomcat woes</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00894.html">[ale] Re: Installing j2se on RHEL 3?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00904.html">[ale] Re: Installing j2se on RHEL 3?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00902"><strong>Date</strong></a></li>
<li><a href="threads.html#00902"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>