|
From: | Rodrigo Linux |
Subject: | RES: [shell-script] Imprimir a linha antes de uma string |
Date: | Tue, 8 Jun 2004 12:25:17 -0300 |
Grande guro do shell-sed-e-muitos-outros :) Não entendi este comando. >/string/{ >x >p >} >h > >e chama com o -f > >falou! x troca os conteúdos dos ESPAÇO PADRÃO e RESERVA p imprime o [PADRÃO] h guarda o [PADRÃO] no ESPAÇO RESERVA (sobrescrevendo) Como ele vai pegar a linha anterior? []'s Rodrigo Vilaça --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.607 / Virus Database: 387 - Release Date: 02/03/2004
[Prev in Thread] | Current Thread | [Next in Thread] |