...
 
Commits (2)
......@@ -185,8 +185,10 @@ if [ "$PROTECTUPPERCASE" = "true" ]; then
for LINENUMBER in $(grep -n ' '"$FIELD"' = {' "$OUTFILE" | cut -f1 -d:); do
SEDARGS+=" -e ${LINENUMBER}s/\([A-Z]\+\)/{\1}/2g"
done
DEBUG >&2 echo "sed -i ${SEDARGS[@]} $OUTFILE"
sed -i ${SEDARGS[@]} "$OUTFILE"
if test ${#SEDARGS[@]} -gt 0 ; then
DEBUG >&2 echo "sed -i ${SEDARGS[@]} $OUTFILE"
sed -i ${SEDARGS[@]} "$OUTFILE"
fi
done
fi
......