Mercurial > hg > toybox
view wrappers/tac @ 535:d51be130fda2
More stabs at getting #includes right, and moving off of deprecated functions.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 08 Mar 2012 20:14:55 -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