Mercurial > repo
view bin/tac @ 6933:1d197af57376
<oerjan> learn Veetans are a race of cuddly, yet sturdy aliens in the Drive comic. Their maximum lifespan is 25 years, but they use it well.
author | HackBot |
---|---|
date | Mon, 22 Feb 2016 21:59:48 +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