comparison man/misc.texi @ 27469:98f24cb3efa5

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Fri, 28 Jan 2000 12:48:41 +0000
parents e800c7e35912
children b1d15e69d22c
comparison
equal deleted inserted replaced
27468:8a6ee5b485d2 27469:98f24cb3efa5
1412 @findex sort-lines 1412 @findex sort-lines
1413 @findex sort-paragraphs 1413 @findex sort-paragraphs
1414 @findex sort-pages 1414 @findex sort-pages
1415 @findex sort-fields 1415 @findex sort-fields
1416 @findex sort-numeric-fields 1416 @findex sort-numeric-fields
1417 @vindex sort-numeric-base
1417 @table @kbd 1418 @table @kbd
1418 @item M-x sort-lines 1419 @item M-x sort-lines
1419 Divide the region into lines, and sort by comparing the entire 1420 Divide the region into lines, and sort by comparing the entire
1420 text of a line. A numeric argument means sort into descending order. 1421 text of a line. A numeric argument means sort into descending order.
1421 1422
1444 1445
1445 @item M-x sort-numeric-fields 1446 @item M-x sort-numeric-fields
1446 Like @kbd{M-x sort-fields} except the specified field is converted 1447 Like @kbd{M-x sort-fields} except the specified field is converted
1447 to an integer for each line, and the numbers are compared. @samp{10} 1448 to an integer for each line, and the numbers are compared. @samp{10}
1448 comes before @samp{2} when considered as text, but after it when 1449 comes before @samp{2} when considered as text, but after it when
1449 considered as a number. 1450 considered as a number. By default, numbers are interpreted according
1451 to @code{sort-numeric-base}, but numbers beginning with @samp{0x} or
1452 @samp{0} are interpreted as hexadecimal and octal, respectively.
1450 1453
1451 @item M-x sort-columns 1454 @item M-x sort-columns
1452 Like @kbd{M-x sort-fields} except that the text within each line 1455 Like @kbd{M-x sort-fields} except that the text within each line
1453 used for comparison comes from a fixed range of columns. See below 1456 used for comparison comes from a fixed range of columns. See below
1454 for an explanation. 1457 for an explanation.