Mercurial > hg > toybox
view wrappers/tac @ 432:01473712c9fe
Document that optflags is always an int (so 32 bit and 64 bit platforms behave the same).
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 06 Feb 2012 21:15:19 -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