Magnus von Koeller
2001-Nov-07 05:38 UTC
[vorbis] Adding a --version option to vorbiscomment
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, how about adding an option to vorbiscomment that displays it's version? This would make it considerably easier to do version- checking. Right now, I'm looking for a string that is only available in vorbiscomment > RC1 but that's not really the cleanest solution ... - -- - -M - ------- Magnus von Koeller <magnus@vonkoeller.de> ------ Georg-Westermann-Allee 76 / 38104 Braunschweig / Germany Phone: +49-(0)531/2094886 Mobile: +49-(0)179/4562940 lp1 on fire (One of the more obfuscated kernel messages) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE76TlFUIvM6e6BgFARAt74AKC8Kozw60AiAl9RFWlJttPkL+XNdACgrUGm w08wVtKAEIEqZRQA0hPVwn4=t0Hs -----END PGP SIGNATURE----- --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> how about adding an option to vorbiscomment that displays it's > version? This would make it considerably easier to do version- > checking. Right now, I'm looking for a string that is only available > in vorbiscomment > RC1 but that's not really the cleanest solution ...Do you want vorbiscomment's version, or the version of the ogg file? jack. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> > how about adding an option to vorbiscomment that displays it's > > version? This would make it considerably easier to do version- > > checking. Right now, I'm looking for a string that is only available > > in vorbiscomment > RC1 but that's not really the cleanest solution ... > > Do you want vorbiscomment's version, or the version of the ogg file?--version is a standard option that reports the version of the program. ALL programs in the world should support it ! -- David Balazic -------------- "Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore Logan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Victoria E. Lease wrote :> [David Balazic] > > --version is a standard option that reports the version of the program. > > > > ALL programs in the world should support it ! > > ...all programs that use GNU's getopt(), which supports > --long-options, perhaps. It is arguable whether all programs in the > world should use that, though... I can think of many cases in which > one would want to avoid that, most obvious of which is aversion to > GPL taint... also, programs with no real commandline interface... > > Just a word against sweeping GNU/Linux-centric statements. :)What I wanted to say was really "ALL programs in the world should support a simple and easy way to query their version". The actual implementation is not that important. I especially like ways when you don't even need to run the program. That way it also works for non-executable files ! root # what /bin/ls /bin/ls: $Revision: 82.2.1.2 $ PATCH_11_00: ls.o 99/09/29 root # what /lib/libc.a /lib/libc.a: $ PATCH/11.00:PHCO_22076 Aug 16 2000 16:51:32 $ or -amiga rewls- > version intuition.library # ( writing from distant memory :-) intuition.library V40.35 , 01-oct-1994 -- David Balazic -------------- "Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore Logan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.