changed proglist

This commit is contained in:
Anselm R. Garbe 2006-03-14 12:08:06 +01:00
parent 1cfea0d215
commit d93851ebd4

View File

@ -7,11 +7,8 @@ xwrite() {
}
proglist() {
echo "$@" | tr ':' '\n' | grep -v '^$' | uniq |
while read dir
do
find "$dir" -perm -u+x -type f -print | sed 's,^.*/,,'
done | sort | uniq
find -L `echo "$@" | tr ':' '\n' | uniq` -perm -u+x -type f -print |
sed 's,^.*/,, ' | sort | uniq
}
# give wmiiwm a chance to start