view bin/tac @ 8182:072b30efd18a

<oerjan> ` sed -i \'s/\\.\\./\\./\' wisdom/\'#esoteric\'
author HackBot
date Fri, 27 May 2016 23:07:58 +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