Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tac « applets_sh - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c5a8e39c11152dceaa2cde867d3ee4eab1c31c4c (plain)
1
2
3
4
5
6
7
#!/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