hush/applets_sh/tac

8 lines
145 B
Plaintext
Raw Normal View History

#!/bin/sh
# TODO: use getopt to avoid parsing options as filenames,
# and to support -- and --help
for i in "$@"
do
sed -e '1!G;h;$!d' "$i"
done