Bash script: Online-Announcement on bash script.

Discussion in 'Programming' started by GNeRaL, May 19, 2007.

  1. #1
    Hello,

    This code will provide online-announcement on your bash/script.

    NEWSURL="http://www.xxx.tld/yournews"
    if wget -q $NEWSURL; then
    echo "News Content:"
    wget -q $NEWSURL; chmod +x haber; cat haber; rm -f haber;
    else
    echo "No new news.."
    fi
    Code (markup):
    You can re-distr. or modify this code.
     
    GNeRaL, May 19, 2007 IP