summaryrefslogtreecommitdiff
path: root/src/query.sh
blob: 7e66b7c2ad0499a670f646f86469ceeef780d964 (plain)
1
2
3
4
5
#!/bin/sh

search () {
    find ${PACKAGES_DIR} -type f | sed "s,${PACKAGES_DIR}/,," | grep$(echo $@ | sed "s/ /\\|/g")
}