2016-05-05 17:32:57 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
PROJ=$1
|
|
|
|
|
|
|
|
SERIES=$(ls deliverables/*/*${PROJ}* | cut -f2 -d/ | sort -ru)
|
|
|
|
|
|
|
|
function line {
|
|
|
|
typeset c="$1"
|
|
|
|
sed -e "s/./$c/g"
|
|
|
|
}
|
|
|
|
|
|
|
|
echo =${PROJ}= | line =
|
|
|
|
echo " ${PROJ^}"
|
|
|
|
echo =${PROJ}= | line =
|
|
|
|
echo
|
2016-06-16 12:41:59 +10:00
|
|
|
for s in $SERIES ; do
|
2016-05-05 17:32:57 -04:00
|
|
|
echo ${s^}
|
|
|
|
echo $s | line =
|
|
|
|
echo
|
|
|
|
echo ".. deliverable::"
|
|
|
|
echo " :series: $s"
|
|
|
|
echo " :team: $PROJ"
|
|
|
|
echo
|
|
|
|
done
|