summaryrefslogtreecommitdiff
path: root/tac
blob: d4261a7be5895ec8d28693ad218f5379927dd594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
cat "$@" | awk "$(tail -n +3 $0)"
exit $?

{
	lines[NR] = $0;
}

END {
	for (i = NR; i > 0; i--) {
		print lines[i]
	}
}