view wrappers/tac @ 503:3b9dea897dc0

Upgrade yesno() and make cp -i use it.
author Rob Landley <rob@landley.net>
date Mon, 27 Feb 2012 21:56:49 -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