Minimal sets of Slackware packages

What the tags mean

The official shit

for set in a ap d l n; do
    echo ADD packages from set $set
    egrep :ADD$ $set/tagfile | cut -f1 -d:
    echo
done

Searching

loose/relax search,

pattern=gcc
find . -type f | egrep "$pattern.*-[^-]+-[^-]+-[^-]+\.t[gx]z$"
unset pattern

precise package name search,

pattern=gcc
find . -type f | egrep "$pattern-[^-]+-[^-]+-[^-]+\.t[gx]z$"
unset pattern

vbatts (Vincent Batts)

hadgis (Martti Kuparinen)

format it by line,

sed -r 's/ +/\n/g' pastedlist

stip out the package version and print only the name,

sed -r 's/([^-]+)-[^-]+-[^-]++-[^-]+$/\1/' linedlist

LXC templates

TSquaredF