a slightly more robust version for you to vet:
#!/bin/bash
notify_email="
[email protected]"
BUDGET_NAMES=$(dash-cli mnbudget show | grep Name | awk '{print $3}' | sed -e 's/[",]//g' | sort)
echo "$BUDGET_NAMES" > /tmp/current_budgets
if [ -e /tmp/previous_budgets ]; then...