Mercurial > hg > xemacs-beta
comparison etc/xemacs-fe.sh @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | a4f53d9b3154 |
children |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
107 # Find out which versions are available on the system and sort them | 107 # Find out which versions are available on the system and sort them |
108 # in numeric order. | 108 # in numeric order. |
109 # | 109 # |
110 # The largish sed script prefixes all version numbers with a sort key. | 110 # The largish sed script prefixes all version numbers with a sort key. |
111 # That key is constructed by padding out any single or double digits to 3 | 111 # That key is constructed by padding out any single or double digits to 3 |
112 # digits from the version number, then converting all occurrences of `.' to | 112 # digits from the version number, then converting all occurences of `.' to |
113 # `0', and prefixing and suffixing the entire result with an additional | 113 # `0', and prefixing and suffixing the entire result with an additional |
114 # zero. After sorting, the sort key is stripped from the output. | 114 # zero. After sorting, the sort key is stripped from the output. |
115 # We do all this because `sort' cannot numerically sort decimal numbers and | 115 # We do all this because `sort' cannot numerically sort decimal numbers and |
116 # will stop on the first `.'. | 116 # will stop on the first `.'. |
117 # This may not work correctly if the version number has more than 4 levels | 117 # This may not work correctly if the version number has more than 4 levels |