openbsd's equivelant of 'tac'

'tac' is like 'cat' , except it outputs lines in reverse .

i find it very useful , but openbsd doesn't come with this utility ! so i thought of looking for the port of it , but the closest i came (fileutils) doesnt have it either .

can someone please recommend a replacement for tac ? perhaps a utility , or a shell script ?

 

 

 

 

Top