Mercurial > hg > toybox
view wrappers/tac @ 580:4877cff01b25
dirtree logic cleanup: switch DIRTREE_NORECURSE and DIRTREE_NOSAVE to DIRTREE_RECURSE and DIRTREE_SAVE.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 20 May 2012 15:00:19 -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