On Thu, 13 Sep 2001, Vadim Vygonets wrote:
> I'm for it, but you know it already. I would just suggest using
> another character instead of '#', because it's used for comments
> in shells.
But not in the middle of file names. At least, not in the shells I use.
> > 4. If "exim" is in the bin directory and is not a symbolic link, run it
> > to find its version number, and rename it as "exim-x.xx#n". Then create a
> > symbolic link to the new version.
>
> Too hard, IMO. Maybe it's better just to shout at the user in
> this case.
Not at all hard, as it turns out! I wanted to do this so that the
transition from the old to the new style can be done automatically.
To get a versioned name for a given Exim binary, you just do this
version=exim-`./exim -bV -C /dev/null | awk '/Exim version/ { print $3$4 }'`
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.