Mercurial > hg > toybox
view wrappers/tac @ 586:0353ed084559
Convert mktemp to use xrealpath, and general clean up while there.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 01 Jun 2012 13:51:22 -0500 |
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