[LUGOS] sed ukazna vrstica

Ales Ales ales.lugos at gmail.com
Wed Jul 6 08:04:52 CEST 2005


Zivjo,
Iscem po sporocilu RMAN-06335. Teh vrstic je vec kot 1.

Pozdrav Ales

On 7/5/05, Boštjan Müller <neonatus na neonatus.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ales Ales wrote:
> > 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
> 
> 
> Zdaj ne vem kolko handle-ov imas tu notri, ce je samo eden potem naprimer:
> $ echo -e "change backuppiece '`grep "Handle:" file.log |\
> awk -F' ' '{print $3}'`' delete;"
> $ change backuppiece 'baza1_555537061_4_1' delete;
> 
> 
> Regards/Lep pozdrav
> 
> Boštjan Müller
> - --
> [*]    Bostjan Müller |n na neonatus.net| http://n.neonatus.net/     [*]
> [*] PGP key --> finger: neonatus na neonatus.net, DSA id: 0x9B2FF108 [*]
> [*]           Celular: +38641243189, ICQ #:7506644                [*]
>      Software is like sex- the best is for free" -Linus Torvalds
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (MingW32)
> 
> iD8DBQFCyskdGPt2q5sv8QgRApUoAJ9q1fxTfS3J5OPdccjrohK6H2PifQCfVT94
> YYMn02mgn9xSRhM8ENP8OFo=
> =iNBy
> -----END PGP SIGNATURE-----
> _______________________________________________
> lugos-list mailing list
> lugos-list na lugos.si
> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
>


More information about the lugos-list mailing list