☰
Debian Codegraph
@
3.4.1+dfsg-3
/
/
fvwm
/
scripts
/
FontSelector
/
findindex.sh
☽
☼
fvwm/scripts/FontSelector/findindex.sh
code
plain
raw
GPL-2+
(c) 2003, 2004, 2005 fvwm-crystal development team.
debian/copyright
1
#!/bin/bash
2
3
index=1
4
5
fc-list : family 2>/dev/null | sort | while read line
6
do
7
if [[ "${line}" == "$1" ]]; then
8
echo "${index}"
9
fi
10
((index++))
11
done