Re: Simple little script to check what the latest version is in svn
Troy Piggins <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
* Rudy Taraschi is quoted & my replies are inline below : > 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. > > /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 Thanks mate. I've been doing something similar, but not as well as that. -- Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __ * Currently using slrn pre0.9.9-82 |___ | |/ |/ | * Try it: ___| | | | | $ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn ------------------------------------------------------------------------- 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/