blob: 80a14f8ff0f9b18e3632c793025683c30eb2acb6 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
FILES=()
while IFS=$'\n' read -r file; do
file="${PWD}${file}"
if [ -f "$file" ]; then
FILES+=("$file")
fi
done
makewhatis -T utf8 "$1" "${PWD}/usr/share/man" ${FILES[@]}
|