remove unused file

This commit is contained in:
Sébastien Loriot 2015-01-31 16:33:50 +01:00
parent 545cdcabe6
commit 137d6a02b7
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
#!/bin/bash
while read -r line
do
# the multiple -e are to work-around for MacOS BSD sed.
# don't touch it unless you have a Mac to test it.
pkg=$(echo ${line} | sed -n -e '/\\package_listing{[^}]*}/ { s/\\package_listing{\([^}]*\)}/\1/;' -e 'p' -e '}')
if [ -n "${pkg}" ]; then
top_level=${pkg%/*}
lower_level=${pkg##*/}
if [ -n "${top_level}" ]; then
filename="../${top_level}/doc/${lower_level}/PackageDescription.txt"
else
filename="../${pkg}/doc/${pkg}/PackageDescription.txt"
fi
sed -n '/PkgDescriptionBegin/,/PkgDescriptionEnd/p' < "$filename"
else
echo -E "${line}"
fi
done <"$1"