Mercurial > repo
view bin/tac @ 7792:dbc906ace002
<moon_> mkx bin/blame//echo it was "$1"\'s fault! Punish them!
author | HackBot |
---|---|
date | Fri, 06 May 2016 00:25:08 +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