[erlang-questions] erlang version
Sat Nov 1 19:26:16 CET 2008
It would be nice to have that information obtainable all on one place, and
displayed on the shell prompt, too. I am sure that I am stating the obvious
here, but I'll do it anyway. I am just guessing, but I see a correlation
between the last digit of the erts version (e.g. 5.6.1 -> 1) and the actual
release. When I used R12B-3, erts was 5.6.3. Now I am using R12B-4, and erts
is 5.6.4. So I suppose a reasonable way (that is not provably correct until
told otherwise) to get the release string would be
4> erlang:system_info(otp_release) ++ "-" ++
On the other hand, I agree that Erlang really should provide a way to get
the point release, or complete otp_release including point release, without
having to grovel around in the version string
On Fri, Oct 31, 2008 at 7:59 PM, Claes Wikström <klacke@REDACTED> wrote:
> Isn't it high time to replace the weird version string
> in the shell that says:
> Eshell V5.6.1 (abort with ^G)
> with the appropriate OTP version number. The 5.6.1 number doesn't
> convey a lot of info - does it. Be brave - change.
> Also, and worse, how do I find out which OTP version I'm
> actually running.
> 1> erlang:system_info(version).
> 2> erlang:system_info(otp_release).
> Crucial info missing there. R12B what? Enlighten me please.
> So, two things that need to be fixed:
> 1. Shell prompt
> 2. Last number in OTP release number is not possible to find out
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions