view wrappers/tac @ 578:5cc8a8fc08b4

First pass at a complete rewrite of string_to_mode(). (It compiled!)
author Rob Landley <rob@landley.net>
date Wed, 16 May 2012 21:11:43 -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