view bin/tac @ 6647:4aa157eb793d

<coppro> mkx bin/5quote//quote;quote;quote;quote;quote;
author HackBot
date Tue, 09 Feb 2016 00:21:09 +0000
parents ff8fd5c8898c
children
line wrap: on
line source

#!/bin/bash
for file do mapfile -t lines < "$file"; for (( i = ${#lines[@]} -1; i >= 0; i-- )) do printf "%s\n" "${lines[i]}"; done done