On Fri, May 20, 2011 at 1:42 PM, Andrew Hills <hills.as_AT_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 MaierReceived on Fri May 20 2011 - 20:06:31 CEST
This archive was generated by hypermail 2.2.0 : Fri May 20 2011 - 20:12:03 CEST