On Fri, May 20, 2011 at 1:42 PM, Andrew Hills <hills...@gmail.com> wrote:
> Not supported by default on Solaris 5.8, Solaris 5.10, RHEL 4(NU7),
> RHEL 5.6, or Arch Linux (updated an hour ago). According to [0], only
> BSD tail has the reverse option.


Any reason not to sort(1) them before you feed them to perl?  And
don't get me wrong: perl is my favorite language, but wouldn't
something akin to

history | sort -r | sed '1d; s/^[ \t]*[0-9]*[ \t]*//'

work just as well?

-- 
# Kurt H Maier

Reply via email to