$ (tac 2> /dev/null || tail -r)
Try tac
, which works on Linux, and if that doesn't work use tail -r
, which works on BSD and OSX.
$ (tac 2> /dev/null || tail -r)
Try tac
, which works on Linux, and if that doesn't work use tail -r
, which works on BSD and OSX.