awk:reverse_order_of_lines
AWK - Reverse order of lines
awk '{ a[i++] = $0 } END { for (j=i-1; j>=0;) print a[j--] }' file.txt
awk/reverse_order_of_lines.txt · Last modified: 2020/09/23 15:58 by 192.168.1.1
awk '{ a[i++] = $0 } END { for (j=i-1; j>=0;) print a[j--] }' file.txt