User Tools

Site Tools


sed:reverse:reverse_order_of_lines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sed:reverse:reverse_order_of_lines [2020/08/16 12:16] – created 192.168.1.1sed:reverse:reverse_order_of_lines [2020/08/16 12:16] (current) 192.168.1.1
Line 6: Line 6:
 sed '1!G;h;$!d'               # method 1 sed '1!G;h;$!d'               # method 1
 sed -n '1!G;h;$p'             # method 2 sed -n '1!G;h;$p'             # method 2
-<code>+</code>
  
 <WRAP info> <WRAP info>
sed/reverse/reverse_order_of_lines.1597580169.txt.gz · Last modified: 2020/08/16 12:16 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki