[LUGOS] sed ukazna vrstica

Ales Ales ales.lugos at gmail.com
Tue Jul 5 18:27:35 CEST 2005


Pozdravljeni,
ali morda kdo ve kako bi uspel dobiti iz tegale:

RMAN-06392:         BP Key: 9370   Status: AVAILABLE  Compressed: NO  Tag: TAG20
050413T194140
RMAN-06355:         Handle: baza1_555537061_4_1   Media: 
RMAN-06335:   List of Datafiles in backup set 9365

tole v ukazno vrstico:

change backuppiece 'baza1_555537061_4_1' delete;

Najdlje sem prisel na tole resitev: [ more file.log | grep RMAN-06355
| sed "-e /RMAN-06355*/ s/\(.* \)\(.*\)$/change backuppiece '\2'
delete;/" ]
change backuppiece '' delete;


Pozdrav Ales


More information about the lugos-list mailing list