neon-config --version output format

Mark Lavi mlavi at sgi.com
Thu May 7 18:57:43 EDT 2009


Hello, I have a minor issue that I'd like to bring up.

I have a build system that attempts to programmatically determine if an
up to date version of a software package exists before building that
package.

The output of "neon-config --version" contains the package name and that
prevents my simple algorithm from doing a direct comparison unless I
filter the output. When I compare the output of other packages below,
most of them just output the version number.

Would there be any objection to a request to drop the "neon " from the
output for the future releases? It's implicit when you call neon-config,
but I can see a reason for keeping it, too. I couldn't really figure out
if there's a standard. What follows below is not a significant sampling,
but it illustrates my point.

Thanks for your time and for providing the world neon!
Cheers,
--Mark

$ for file in `ls /data/bootstrap/bin/*-config` ; do echo $file; $file
--version; done
 
/data/bootstrap/bin/curl-config
libcurl 7.19.3
/data/bootstrap/bin/freetype-config
9.20.3
/data/bootstrap/bin/libmcrypt-config
2.5.8
/data/bootstrap/bin/neon-config
neon 0.28.4
/data/bootstrap/bin/php-config
5.2.9
/data/bootstrap/bin/xml2-config
2.7.3

..............................
Mark Lavi, Senior Web Producer @ SGI
mlavi at sgi.com | tel: 408.524.7347 | sgi.com




More information about the neon mailing list