blob: 6253b70f528838a49c6206898344e60e7a54fb85 [file] [log] [blame]
#!/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