https://bugzilla.novell.com/show_bug.cgi?id=409370
User Markus.Elfring@web.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=409370#c2
--- Comment #2 from Markus Elfring
Controlling the displayed columns with options is also an interesting idea.
I hope that this query interface will become smarter and more efficient than the following command. Example: Sonne:~ # date ; for XYZ in $(zypper locks | tail --lines +3 | cut --delimiter \| --fields 2) ; do echo unlock: $XYZ ; time zypper removelock $XYZ ; done Wed Jul 16 22:18:50 CEST 2008 unlock: perl-Set-Object Reading installed packages... Lock count has been succesfully decreased by: 1 real 0m40.951s user 0m10.324s sys 0m0.838s unlock: perl-Set-Scalar Reading installed packages... Lock count has been succesfully decreased by: 1 real 0m11.482s user 0m10.089s sys 0m0.640s unlock: perl-Socket6 Reading installed packages... Lock count has been succesfully decreased by: 1 real 0m11.314s user 0m9.945s sys 0m0.645s unlock: perl-Text-DelimMatch Reading installed packages... Lock count has been succesfully decreased by: 1 real 0m12.504s user 0m9.937s sys 0m0.733s unlock: perl-Time-Duration Reading installed packages... Lock count has been succesfully decreased by: 1 real 0m11.437s user 0m9.692s sys 0m0.690s unlock: perl-Time-Period Reading installed packages... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.