I was trying to uninstall a series of packages, all beginning with the same word. I ran the following to get a list of them:pacman -Q  | grep packagenameI then wondered if there is a way to pass on the output of grep to the following command:sudo pacman -R (grep output)so that the command would be called on all of them.I'm new to bash and trying to get more familiar with it, so the more detailed the answer the better :)
Repeating comand using a series of lines as arguments
bash;grep