GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Filter with Wajig |
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 |