#!/bin/sh
# alpha-breakthroughs - read the local public BREAKTHROUGHS feed, plain words.
# The feed is a plain text file of dated items. It is filled only by
# the public update channel (alpha-update). An empty feed says so.
_HOME="${ALPHA_HOME:-$HOME/.alpha-shell}"
FEED="$_HOME/share/feeds/breakthroughs.txt"
echo "ALPHA BREAKTHROUGHS - public feed"
echo
if [ -f "$FEED" ] && grep -v '^#' "$FEED" | grep -q '[^[:space:]]'; then
  grep -v '^#' "$FEED" | grep -v '^[[:space:]]*$'
else
  echo "No breakthrough items are loaded yet."
  echo "Items arrive through the public update channel - run"
  echo "alpha-update, or check again after the next public release."
  echo "Nothing is ever made up to fill this space."
fi
