From 4548d750deecbf2ebefa4f769165c55d0169017a Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Fri, 21 Mar 2014 14:36:13 +0100 Subject: Documentation fix --- system/doc/system_principles/versions.xml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'system/doc/system_principles') diff --git a/system/doc/system_principles/versions.xml b/system/doc/system_principles/versions.xml index 6bfa9d1eed..2bf0d18010 100644 --- a/system/doc/system_principles/versions.xml +++ b/system/doc/system_principles/versions.xml @@ -79,18 +79,18 @@
OTP Versions Table -

The text file <OTP source root>/otp_versions.table - part of the source code contains information about all OTP versions +

The text file <OTP source root>/otp_versions.table that + is part of the source code contains information about all OTP versions from OTP 17.0 up to current OTP version. Each line contains information - about application versions part of a specific OTP version, and is on - the format:

+ about application versions that are part of a specific OTP version, and + is on the format:

-<OtpVersion> : <ChangedAppVersions> # <UnchangedAppVersions>
+<OtpVersion> : <ChangedAppVersions> # <UnchangedAppVersions> :
 

<OtpVersion> is on the format OTP-<VSN>, i.e., the same as the git tag used to identify the source. <ChangedAppVersions> and <UnchangedAppVersions> - are white space separated lists of application versions on the + are space separated lists of application versions on the format <application>-<vsn>. <ChangedAppVersions> corresponds to changed applications with new version numbers in this OTP version, and @@ -99,14 +99,15 @@ not at the same time. If <ChangedAppVersions> is empty, no changes has been made that change the build result of any application. This could for example be a pure bug fix of the build system. The order of lines - is undefined.

+ is undefined. All white space characters in this file are either space + (character 32) or line-break (character 10).

Using ordinary UNIX tools like sed and grep one can easily find answers to various questions like:

Which OTP versions are kernel-3.0 part of? -

$ grep 'kernel-3\.0' otp_versions.table

+

$ grep ' kernel-3\.0 ' otp_versions.table

In which OTP version was kernel-3.0 introduced? -

$ sed 's/#.*//;/kernel-3\.0/!d' otp_versions.table

+

$ sed 's/#.*//;/ kernel-3\.0 /!d' otp_versions.table

The above commands give a bit more information than the exact answers, but adequate information when manually searching for answers to these -- cgit v1.2.3