Mercurial > hg > toybox
view wrappers/tac @ 595:d8566c3321f0 0.3.0
Multiplexer needs stayroot flag for suid handling.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 11 Jun 2012 23:57:16 -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