Andrew Spiers <[email protected]> wrote: > Is this the best way? > > dpkg -L python-docutils | xargs ls -dF | grep \*
Perhaps a variant of this? for fn in $(dpkg -L python-docutils) ; do [ -f $fn -a -x $fn ] && echo $fn ; done You could use the officially deprecated but ubiquitous `...` syntax rather than $(...) if you prefer. Note that the -f test is needed to exclude directories. _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
