Mercurial > repo
view bin/tac @ 7652:98420bee8e69
<oerjan> le/rn overlord/Evil overlords do evil acts like taking over the world, kicking puppies and changing their own wisdom entries.
author | HackBot |
---|---|
date | Tue, 03 May 2016 00:17:36 +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