Have aptitdue search print full package name
Environment: aptitude called in a script.
I'm having problems with this command:
aptitude search '?virtual' |grep ^v |grep -v i386|sort|uniq
In particular if I do:
aptitude search '?virtual' |grep ^v |grep -v i386|sort|uniq|grep adblock
I get ( as one of the results )
v adblock-plus-element-hiding-hel -
instead of what I want.
v adblock-plus-element-hiding-helper -
How do I get aptitude to print the full package name in a script?
Environment: aptitude called in a script.
I'm having problems with this command:
aptitude search '?virtual' |grep ^v |grep -v i386|sort|uniq
In particular if I do:
aptitude search '?virtual' |grep ^v |grep -v i386|sort|uniq|grep adblock
I get ( as one of the results )
v adblock-plus-element-hiding-hel -
instead of what I want.
v adblock-plus-element-hiding-helper -
How do I get aptitude to print the full package name in a script?
No comments:
Post a Comment