*** flymolon wrote:
> > Is there an easy way from the omp command line that I can list ALL the
> > reports and delete them?
>
> I wrote a shell command, wish it helps:
>
> sed "s/></>\n</g"|grep "<report id="|sed "s/<report id=\"\([^\"]*\)\".*/\1/g"
awk 'match( $0, /report id="([^"]+)"/, ret ) { print ret[1] }'
:)
Micha
--
Michael Meyer OpenPGP Key: 0xAF069E9152A6EFA6
http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG
Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss