No, by pipe I mean this: https://www.geeksforgeeks.org/piping-in-unix-or-linux/
So you can do something like eopkg sr theme | cut -d" " -f1 | xargs eopkg it
to first search for any package containing the string "theme" (both description and name mind you!), cut out anything but the name and then install them
BlolPloop How can I use the "-" at the start of the search-term?
I'm not sure I understand the question, but if you mean how you can search for the "-" character, something like eopkg sr "\-theme"
works
Again, I do not recommend this.
edit: Hmm, trying this myself I'm running into some issues. The colour formatting of eopkg messes with things a bit, and the missing newline at the end also seems to lead to problems. New command, but still not final:
eopkg sr -N --name "\theme" | echo `cut -d" " -f1` | xargs sudo eopkg it
but this produces an error for some reason
(-N
is for no-color output, --name
for just searching in the "Name" part of the package, the echo
around cut
to smooth out some formatting issue)
But now it fails with
System error. Program terminated.
(25, 'Inappropriate ioctl for device')
edit2: well, it seems to work if you just auto-confirm it
eopkg sr -N --name "\theme" | echo `cut -d" " -f1` | xargs sudo eopkg it -y
Again, I do not recommend this!