Aê Eddy, $ echo "Endpoint Label : server > IP Address : 172.11.251.225+9484 > Current Status : connected > Endpoint Label : hsqd0476 > IP Address : 172.11.211.226+9484 > Current Status : connected > " | sed '/^Endpoint/i > '
Endpoint Label : server IP Address : 172.11.251.225+9484 Current Status : connected Endpoint Label : hsqd0476 IP Address : 172.11.211.226+9484 Current Status : connected Abraços, Julio Em 13/05/08, Eddy <[EMAIL PROTECTED]> escreveu: > > Caros amigos bom dia! > Seguinte, eu tenho a saída abaixo e to querendo separar com uma nova > linha...Tem como? > Eu uso o AIX (ksh) > > prompt:>wlookup -aLr Endpoint|fgrep hsqd|xargs -n1 wepstatus |egrep > '(Endpoint|Address|Current)' > > Endpoint Label : server > IP Address : 172.11.251.225+9484 > Current Status : connected > Endpoint Label : hsqd0476 > IP Address : 172.11.211.226+9484 > Current Status : connected > > Quero fazer: > Endpoint Label : server > IP Address : 172.11.251.225+9484 > Current Status : connected > > Endpoint Label : server > IP Address : 172.17.251.226+9484 > Current Status : connected > > > [As partes desta mensagem que não continham texto foram removidas]