view wrappers/tac @ 526:f435e8e3a0ba

Add mkdir.
author Georgi Chorbadzhiyski <georgi@unixsol.org>
date Mon, 05 Mar 2012 22:19:36 -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