Re: OT: Slack Live Test On Fri, 25 Jun 2004 18:13:49 +0000, paul wisehart wrote:
> #!/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
HA! Saved for future reference. |