#!/bin/sh
# chmod +w today
./consumption > stocks.new
if [ $? -ne 0 ]; then
  exit 1;
fi
mv stocks.new stocks
rm -f stocks.html
cat stocks-start stocks-body stocks-end > stocks.html
# rcs -l stocks.html today
# ci -u -m"automatic checkin" today
# ci -u -m"automatic checkin" stocks.html


