Blog do Tino Gomes · Jan 26, 2024
[SHELL] movendo a última linha de um arquivo para o topo
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Mais um post para funcionar de memória e não mais ficar buscando como fazer para mover a última linha de um arquivo para o topo. $ sed '1h;1d;$!H;$!d;G' file Referências: Use sed to move last line to top
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.