"Fossies" - the Fresh Open Source Software Archive

Member "dconf-0.5.1/scripts/dpkg-find" (28 Feb 2006, 188 Bytes) of package /linux/privat/old/dconf-0.5.1.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 base='/var/lib/dpkg/info'
    3 for i in $(dpkg -l | grep ^ii | cut -d' ' -f3); do
    4     if [ -f "$base/$i.conffiles" ]; then
    5         echo "===$i==="
    6         cat "$base/$i.conffiles"
    7         echo
    8     fi
    9 done