"tail +r<number>" not equivalent to "tail +<number> | rev -l" ?

Glenn Fowler gsf at research.att.com
Sun May 24 05:59:41 PDT 2009


"tail +r<number>" is not accepted by sun /bin/tail
you meant "tail +<number>r"?

I was trying to reconcile your patch with the sun tail(1) man page too
as far as I can tell the only place where ast tail doesn't meet the sun docs is
	tail -r
it currently produces no output
the fix I plan is to make this be
	tail +1r
which reverses all lines in the current ast implementation

On Sun, 24 May 2009 13:39:55 +0200 Roland Mainz wrote:
> -- snip --
>  -r     Reverse. Copies lines  from  the  specified  starting
>         point in the file in reverse order. The default for r
>         is to print the entire file in reverse order.
> -- snip --

-- Glenn Fowler -- at&t Research, Florham Park NJ --




More information about the opensolaris-arc mailing list