Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Getting the CVS revision of Zsh



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