summaryrefslogtreecommitdiff
path: root/debian/getfromlist
blob: 7cbafa2344455e76c60080c2222b3e9ea22a7593 (plain)
1
2
3
4
5
6
7
#!/bin/sh

if [ -z "$1" ] || [ ! -f "$1" ] ; then
	exit 1
fi

egrep -v "^[[:space:]]*(|#.*)$" $1 | cut -f 1