view wrappers/tac @ 459:1dbe91079950

Second drop of ls from Andre, adds -l.
author Rob Landley <rob@landley.net>
date Mon, 13 Feb 2012 21:27:50 -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