comparison etc/xemacs-fe.sh @ 367:a4f53d9b3154 r21-1-13

Import from CVS: tag r21-1-13
author cvs
date Mon, 13 Aug 2007 11:01:07 +0200
parents 6075d714658b
children cc15677e0335 308d34e9f07d
comparison
equal deleted inserted replaced
366:83d76f480a59 367:a4f53d9b3154
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 occurences of `.' to 112 # digits from the version number, then converting all occurrences 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