Mercurial > hg > toybox
view wrappers/tac @ 528:878b94b32866
Comment and whitespace tweaks.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 06 Mar 2012 20:48:27 -0600 |
parents | 7da386057101 |
children |
line wrap: on
line source
#!/bin/sh # HELP usage: tac [FILE...]\n\nPrint input lines in reverse order for i in "$@" do sed -e '1!G;h;$!d' "$i" done