view wrappers/tac @ 532:d44eb064da41

Silence a couple pointless warnings.
author Rob Landley <rob@landley.net>
date Wed, 07 Mar 2012 19:00:21 -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