Using wildcards along with the 'emerge search' command does not seem to work correctly. For example, 'emerge --help' says that 'emerge search "*" will list all packages, yet running the command will produce no matching results. Also, the command 'emerge search "*foo"' creates a traceback error when executed, instead of finding all packages ending with foo. Any expression ending with a wildcard is correctly parsed. This was tested on portage ver. 1.8.18, and is reproduceable on my other machine.
"*" should be ".*", reassiging to Geert. Geert, when you have time can you fix this?
Yes, i can confirm this bug. emerge crashes and displayes a traceback. More test cases: emerge -s "*""<enter>(bash displayes PS2 prompt)"<enter> -crash emerge -s "*""" -works emerge -s "*"x -crash, replace x with anything other than a space. This could also be a security concern. A properly hacked string could crash emerge and compramize the system.
this works in portage-1.9.2
never mind -- I did it from /root, so it used all the entries in my root dir as the search options. That item should probably be removed from the help
Will be fixed in 1.9.5