Simple little script to check what the latest version is in svn (fixed)

"Rudy Taraschi" <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
If you're like me and want to keep up with slrn development, here's a
simple little script I wrote to check what the latest version is in
the svn repository.  It's trivial, but pretty useful, and I fixed the
typo in the previous version I posted.

/rudy

--------------------------------------------------------------------------------------------------------------------------------------------
#!/bin/sh
rm -f version.h > /dev/null 2>&1
wget --quiet --no-check-certificate \
    https://slrn.svn.sourceforge.net/svnroot/slrn/trunk/src/version.h
echo -n "slrn-pre0.9.9-"
grep "#define SLRN_VERSION_STRING" version.h | cut -d'"' -f2 | cut -d'-' -f2
rm -f version.h > /dev/null 2>&1

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.