GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
Using wajig as a Filter |
Wajig can be used in a command line filter to achieve various results.
Suppose you wanted to install all packages that were output by some
wajig command. Here's two examples:
wajig new | tail +3 | cut -d' ' -f1 | xargs wajig install wajig newupgrades | tail +3 | cut -d' ' -f1 | xargs wajig install |