blob: 27434bb2de5edffb849b16d61e4ea790c821d86b (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
: ${DIST:=./distfiles-root/CRAN}
c= n=
for c in {a..z} {0..9}; do
n=`2>/dev/null ls -1 "$DIST"/{${c},${c^^}}* | wc -l`
[[ -z "$n" ]] || [[ $n -eq 0 ]] || echo -e "${n}\t${c}"
done | sort -n
|