view bin/tac @ 8365:81911da6b984

<Moon__> ` mv gs2.py bin/gs2.py
author HackBot
date Mon, 06 Jun 2016 04:10: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