Mercurial > hg > toybox
view wrappers/tac @ 544:f11693d78764
New toys - chmod, chown, and chgrp.
author | Georgi Chorbadzhiyski <gf@unixsol.org> |
---|---|
date | Tue, 13 Mar 2012 21:05:12 -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