From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9285 Path: main.gmane.org!not-for-mail From: Wybo Dekker Newsgroups: gmane.comp.tex.context Subject: Re: getting context's version Date: Tue, 17 Sep 2002 20:23:18 +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 1035399627 2058 80.91.224.250 (23 Oct 2002 19:00:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:00:27 +0000 (UTC) Cc: ntg-context Original-To: Tobias Burnus In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:9285 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9285 On Tue, 17 Sep 2002, Tobias Burnus wrote: > 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. I can only hope this tickled Hans... -- Wybo