Yay: Invokes an infinite loop when it contains some special strings that you want to search for

Created on 17 Jul 2018  路  5Comments  路  Source: Jguer/yay

Affected Version



yay v7.887
i use the version v7.887 ,but i think the error appared all version

Issue

Invokes an infinite loop when it contains some special strings that you want to search for

Steps to reproduce


e.g.
yay --query --search -icon-theme

Most helpful comment

If this program is normal, how do you end it?

I'm not really sure what you're saying here. Yes this is pretty normal behavior. Try grep - or cat - and they will hang too.

Do not use Ctrl+C

If you don't want to then Ctl+D sends an EOF, but really I'd just use ctl+C

I tried to enter some characters to end it, but this failed.

-- is an end of options separator, reconsidered by most commands. It just means that everything after it so be taken as a target, even if it starts with a dash. You would not just add it to the end of the command.

All 5 comments

-icon-theme starts with a dash so it interprets each letter as a flag. The dash in the middle is making yay wait for data from stdin. Use -- as an end of options separator.

If this program is normal, how do you end it?
Do not use Ctrl+C

I tried to enter some characters to end it, but this failed.

If this program is normal, how do you end it?

I'm not really sure what you're saying here. Yes this is pretty normal behavior. Try grep - or cat - and they will hang too.

Do not use Ctrl+C

If you don't want to then Ctl+D sends an EOF, but really I'd just use ctl+C

I tried to enter some characters to end it, but this failed.

-- is an end of options separator, reconsidered by most commands. It just means that everything after it so be taken as a target, even if it starts with a dash. You would not just add it to the end of the command.

pacman -
This will not

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Qyriad picture Qyriad  路  4Comments

parkerlreed picture parkerlreed  路  3Comments

pantuts picture pantuts  路  3Comments

renom picture renom  路  3Comments

captn3m0 picture captn3m0  路  4Comments