sed:reverse:reverse_order_of_lines
SED - Reverse - Reverse order of lines
Emulates “tac”.
sed '1!G;h;$!d' # method 1 sed -n '1!G;h;$p' # method 2
NOTE: A Bug/feature in HHsed v1.5 causes blank lines to be deleted.
sed/reverse/reverse_order_of_lines.txt · Last modified: 2020/08/16 12:16 by 192.168.1.1