13 Jul
2013
13 Jul
'13
9:16 p.m.
Hi, to write a wrapper for yaourt, e.g. "yaourt -Syua" and pacman e.g. "pacman -Syu" I need to redirect the output to a variable, since I need to know the packages. i=`yaourt -Syua` doesn't work, $i only contains the last package i=`pacman -Syu` does work, $i contains all packages How can I get a package list of the output "-Syua"? Btw. is there a way to get a cache for yaourt that isn't located in /tmp? if not, then this would be one of the tasks the wrapper should do. Regards, Ralf