mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-22 14:30:29 +00:00
ddb82cb2e0
Maybe someday I'll become adept at using cvs...
8 lines
168 B
Awk
8 lines
168 B
Awk
# reverse - print input in reverse order by line
|
|
|
|
{ line[NR] = $0 } # remember each input line
|
|
|
|
END { for (i = NR; i > 0; i = i - 1)
|
|
print line[i]
|
|
}
|