3 ms·
I think this gets really interesting when combined with the bash builtin that supports reading records into variables[0]. recsel contacts.rec | while readr
by fooblat 7y ago
I think this gets really interesting when combined with the bash builtin that supports reading records into variables[0].
recsel contacts.rec | while readrec
do
if [ $Checked = "no" ]
then
mail -s "You are being checked." ${Email[0]} < email.txt
recset -e "Email = '$Email'" -f Checked -S yes contacts.rec
sleep 1
fi
done
0. https://www.gnu.org/software/recutils/manual/Bash-Builtins.html#Bash-Builtins https://www.gnu.org/software/recutils/manual/Bash-Builtins.h...