Pregunta:
un comando bash genera esto:
Runtime Name: vmhba2:C0:T3:L14
Group State: active
Runtime Name: vmhba3:C0:T0:L14
Group State: active unoptimized
Runtime Name: vmhba2:C0:T1:L14
Group State: active unoptimized
Runtime Name: vmhba3:C0:T3:L14
Group State: active
Runtime Name: vmhba2:C0:T2:L14
Group State: active
Me gustaría conectarlo a algo para que se vea así:
Runtime Name: vmhba2:C0:T1:L14 Group State: active
Runtime Name: vmhba3:C0:T3:L14 Group State: active unoptimized
Runtime Name: vmhba2:C0:T2:L14 Group State: active
[...]
es decir, eliminar todas las demás líneas nuevas
Intenté ... |tr "\nGroup" " "
pero eliminó todas las líneas nuevas y se comió algunas otras letras también. Gracias
Respuesta:
no puedo probar ahora, pero
... | paste - -
Deberías hacerlo