-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2017-12-05 at 14:15 +0100, Knurpht - Gertjan Lettink wrote:
Op dinsdag 5 december 2017 12:32:41 CET schreef Carlos E. R.:
On Monday, 2017-12-04 at 22:31 -0500, Felix Miata wrote:
# zypper --no-refresh se -s -i KDE3 Loading repository data... Reading installed packages...
...
Interesting. I see possible to edit the list a bit and import in LibreOffice calc.
Would it be possible to generate the package list (with version, repository, etc) but separated with commas, no spaces?
Next to the other options mentioned, why not use the pipe char as the field separator in Calc?
Yes, that's what I do, certainly. But there are spaces. The --terse global option, as Werner Flamme says, doesn't help: cer@Telcontar:~> zypper --no-refresh se -s -i KDE3 Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository - ---+-------------------+---------+-------------+--------+-------------- i+ | kde3-i18n-es | package | 3.5.10-66.3 | noarch | OBS: KDE:KDE3 i+ | kde3-i18n-es-base | package | 3.5.10-66.3 | noarch | OBS: KDE:KDE3 cer@Telcontar:~> cer@Telcontar:~> zypper --terse --no-refresh se -s -i KDE3 Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository - ---+-------------------+---------+-------------+--------+-------------- i+ | kde3-i18n-es | package | 3.5.10-66.3 | noarch | OBS: KDE:KDE3 i+ | kde3-i18n-es-base | package | 3.5.10-66.3 | noarch | OBS: KDE:KDE3 cer@Telcontar:~> The "--xmlout" does change the output, but it is not for me, I think: cer@Telcontar:~> zypper --xmlout --no-refresh se -s -i KDE3 <?xml version='1.0'?> <stream> <message type="info">Loading repository data...</message> <message type="info">Reading installed packages...</message> <search-result version="0.0"> <solvable-list> <solvable status="installed" name="kde3-i18n-es" kind="package" edition="3.5.10-66.3" arch="noarch" repository="OBS: KDE:KDE3"/> <solvable status="installed" name="kde3-i18n-es-base" kind="package" edition="3.5.10-66.3" arch="noarch" repository="OBS: KDE:KDE3"/> </solvable-list> </search-result> </stream> cer@Telcontar:~> - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlomp34ACgkQtTMYHG2NR9W/FwCfREAOLL9KkN2LlztODi/6CF/i +1gAni8EBFg4jKOgZHdE4VTIg6Xmc9mP =9Tp9 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org