]>
Commit | Line | Data |
---|---|---|
c49c7906 PG |
1 | #!/bin/sh |
2 | if [ $# -lt 1 ]; then | |
3 | echo "You have to specify input file" | |
4 | exit 1 | |
5 | fi | |
6 | ||
7 | filelist=`echo $@` | |
8 | for i in $filelist; do | |
9 | j=`cat $i |egrep -i "^Class" |cut -f 2 -d " "` | |
10 | if [ -n "$j" ]; then | |
11 | echo "Provides: pear($j)" | |
12 | fi | |
13 | j="" | |
14 | done |