Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting the CVS revision of Zsh
- X-seq: zsh-users 13686
- From: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- To: "Peter Stephenson" <pws@xxxxxxx>
- Subject: Re: Getting the CVS revision of Zsh
- Date: Fri, 9 Jan 2009 12:48:04 +0100
- Cc: "Zsh Users" <zsh-users@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jXNzys6ziwTL7X5SpVGKkzuFkin/IoSL93c9cdw7efk=; b=JltoN/AcV43Dg7DVCBSAfDlLUm0Mk8FOI+WQCnguI9Vef6378FETf8Gz0UVRvMGVnt OH9BUdvkrhUSUsGeL8kF2Dfnk5tcmXUSIpjqwkDIYznDgBmutrwdc+iUyCzc1dtfdW23 BdRUR1+ap6+bCgZleyPIWwYjNryB3fXq9YsW4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Hu3hLQmUsanWEeQnEZCVky5HMXXCaVP0XQHcDMKh17NbbyIb6Gg3rlkSOnVncP09PV Vo1qDiS6aA4ZEcBIDzTJFupK3Mn6fU0pbstYeN4k+mACCLr0YFIH6K/A2cfaLhXY3Rpi goM8ntDDiOrtp+2zNJNTAttCgyX/qL5yPKJUA=
- In-reply-to: <200901091121.n09BLVvZ006382@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70901090301h6b309a7cm19c5ebfec989ff2c@xxxxxxxxxxxxxx> <200901091121.n09BLVvZ006382@xxxxxxxxxxxxxx>
On Fri, Jan 9, 2009 at 12:21, Peter Stephenson <pws@xxxxxxx> wrote:
> cvs status ChangeLog | awk '/Working revision:/ { print $3 }'
>
> to a variable such as $ZSH_PATCHLEVEL. However, this needs careful
> handling to make sure it doesn't get run where CVS isn't available.
I would prefer a file like zsh-revision to be introduced (and synced
from a CVS hook). That way, the information would make it both into
tarballs and the various git repositories cloned from the CVS one.
This file could then be read at compile-time.
> I tend to refer to it by the command name "zsh". If you want an
> expanded version it's less standard, but "Z shell" as in the manual or,
> in titles such as that of the book "Z Shell", is probably good enough.
Thanks. zsh it is :)
Richard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author