view bin/tac @ 6858:ff90693af5e8

<Elronnd> touch hw/python
author HackBot
date Mon, 15 Feb 2016 01:54:13 +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