tac - concatenate and print files in reverse

2008-07-24 Thread Tony Berth
I wasn't able to find 'tac' in OpenBSD! Is any reason for that or any
alternative?

Thanks for your help

Tony



Re: tac - concatenate and print files in reverse

2008-07-24 Thread Paul de Weerd
On Thu, Jul 24, 2008 at 12:17:31PM +0200, Tony Berth wrote:
| I wasn't able to find 'tac' in OpenBSD! Is any reason for that or any
| alternative?

tail -r

Cheers,

Paul 'WEiRD' de Weerd

--
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: tac - concatenate and print files in reverse

2008-07-24 Thread Stuart Henderson
On 2008-07-24, Tony Berth [EMAIL PROTECTED] wrote:
 I wasn't able to find 'tac' in OpenBSD! Is any reason for that or any
 alternative?

Depending on which sort of reverse you mean, one of rev(1) or
tail(1) will do what you want.



Re: tac - concatenate and print files in reverse

2008-07-24 Thread Tony Berth
On Thu, Jul 24, 2008 at 12:34 PM, Stuart Henderson [EMAIL PROTECTED]
wrote:

 On 2008-07-24, Tony Berth [EMAIL PROTECTED] wrote:
  I wasn't able to find 'tac' in OpenBSD! Is any reason for that or any
  alternative?

 Depending on which sort of reverse you mean, one of rev(1) or
 tail(1) will do what you want.



'tail -r' did the job!

Thanks a lot for your help

Cheers

Tony