From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9284 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: getting context's version Date: Tue, 17 Sep 2002 20:00:56 +0200 (CEST) Sender: owner-ntg-context@let.uu.nl Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035399626 2056 80.91.224.250 (23 Oct 2002 19:00:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:00:26 +0000 (UTC) Cc: ntg-context Original-To: Wybo Dekker In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:9284 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9284 Hi, On Tue, 17 Sep 2002, Wybo Dekker wrote: > I want to check context's version in a perl script to verify that it's > recent enough. Is there a better way than this?: Hmm. Probably not. One could try something like: grep contextversion `kpsewhich context.tex` | sed -e 's/.*{//' -e 's/}//' But this only checks the file not the format. Using cont-en is not the best though I have no better alternative. Tobias