13 May
2007
13 May
'07
7:48 p.m.
On Sun, May 13, 2007 at 21:45:19 +0200, Johannes Winkelmann wrote: [...]
Long answer: for p in `prt-get quickdep xfce4`; do \ d=$(prt-get dependent $p); \ if [ -z "$d" ]; then echo $p; fi ; done
Of course, there's no need to use the temporary: for p in `prt-get quickdep xfce4`; do \ if [ -z "$(prt-get dependent $p)" ]; then echo $p; fi ; done Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch