# $Id: reversefile.gawk,v 1.2 2000/11/22 20:54:57 doug Exp $ # http://www.bagley.org/~doug/shootout/ BEGIN { delete ARGV } { x[NR] = $0 } END { for (i = NR; i >= 1; i--) print x[i] }