yay v7.887
i use the version v7.887 ,but i think the error appared all version
Invokes an infinite loop when it contains some special strings that you want to search for
e.g.
yay --query --search -icon-theme
-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
Most helpful comment
I'm not really sure what you're saying here. Yes this is pretty normal behavior. Try
grep -orcat -and they will hang too.If you don't want to then Ctl+D sends an EOF, but really I'd just use ctl+C
--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.