Re: OT: Slack Live Test On 25 Jun 2004 10:21:59 -0700, Rich Grise <richardgrise@yahoo.com> wrote:
> Plus, a google groups post test.
#!/bin/sh
if [ $# -ne 1 ] ; then
echo "usage: $0 <newsgroup-i-posted-to>"
exit 1
fi
GROUP_I_POSTED_TO=$1
GROUP_I_SHOULDVE_POSTED_TO='alt.test'
if [ "X${GROUP_I_POSTED_TO}" != "X${GROUP_I_SHOULDVE_POSTED_TO}" ] ; then
echo "I should've posted to \"${GROUP_I_SHOULDVE_POSTED_TO}\""
else
echo "Yay me!, I posted to the right group."
fi |