view wrappers/tac @ 587:82ffae226c40

Convert another realpath use to xrealpath().
author Rob Landley <rob@landley.net>
date Fri, 01 Jun 2012 17:59:11 -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