Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

166 lines
5.9 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (c) 1998 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; sort.h
  8. ;
  9. ;Abstract:
  10. ;
  11. ; This file contains the message definitions for the Win32 SORT.EXE
  12. ; program.
  13. ;
  14. ;Author:
  15. ;
  16. ; Rod Gamache (rodga) 7-May-1998
  17. ;
  18. ;Revision History:
  19. ;
  20. ;Notes:
  21. ;
  22. ; This file is generated by the MC tool from the sort.mc file.
  23. ;
  24. ;--*/
  25. ;
  26. ;#ifndef _SORTMSG_
  27. ;#define _SORTMSG_
  28. ;
  29. ;
  30. MessageId=7400 SymbolicName=MSG_SORT_USAGE1
  31. Language=English
  32. SORT [/R] [/+n] [/M kilobytes] [/L locale] [/REC recordbytes]
  33. [[drive1:][path1]filename1] [/T [drive2:][path2]]
  34. [/O [drive3:][path3]filename3]
  35. /+n Specifies the character number, n, to
  36. begin each comparison. /+3 indicates that
  37. each comparison should begin at the 3rd
  38. character in each line. Lines with fewer
  39. than n characters collate before other lines.
  40. By default comparisons start at the first
  41. character in each line.
  42. /L[OCALE] locale Overrides the system default locale with
  43. the specified one. The ""C"" locale yields
  44. the fastest collating sequence and is
  45. currently the only alternative. The sort
  46. is always case insensitive.
  47. /M[EMORY] kilobytes Specifies amount of main memory to use for
  48. the sort, in kilobytes. The memory size is
  49. always constrained to be a minimum of 160
  50. kilobytes. If the memory size is specified
  51. the exact amount will be used for the sort,
  52. regardless of how much main memory is
  53. available.
  54. The best performance is usually achieved by
  55. not specifying a memory size. By default the
  56. sort will be done with one pass (no temporary
  57. file) if it fits in the default maximum
  58. memory size, otherwise the sort will be done
  59. in two passes (with the partially sorted data
  60. being stored in a temporary file) such that
  61. the amounts of memory used for both the sort
  62. and merge passes are equal. The default
  63. maximum memory size is 90% of available main
  64. memory if both the input and output are
  65. files, and 45% of main memory otherwise.
  66. .
  67. MessageId=7415 SymbolicName=MSG_SORT_USAGE2
  68. Language=English
  69. /REC[ORD_MAXIMUM] characters Specifies the maximum number of characters
  70. in a record (default 4096, maximum 65535).
  71. /R[EVERSE] Reverses the sort order; that is,
  72. sorts Z to A, then 9 to 0.
  73. [drive1:][path1]filename1 Specifies the file to be sorted. If not
  74. specified, the standard input is sorted.
  75. Specifying the input file is faster than
  76. redirecting the same file as standard input.
  77. /T[EMPORARY]
  78. [drive2:][path2] Specifies the path of the directory to hold
  79. the sort's working storage, in case the data
  80. does not fit in main memory. The default is
  81. to use the system temporary directory.
  82. /O[UTPUT]
  83. [drive3:][path3]filename3 Specifies the file where the sorted input is
  84. to be stored. If not specified, the data is
  85. written to the standard output. Specifying
  86. the output file is faster than redirecting
  87. standard output to the same file.
  88. .
  89. MessageId=7401 SymbolicName=MSG_SORT_REC_TOO_BIG
  90. Language=English
  91. Input record exceeds maximum length. Specify larger maximum.
  92. .
  93. MessageId=7402 SymbolicName=MSG_SORT_INVALID_LOCALE
  94. Language=English
  95. Invalid locale.
  96. .
  97. MessageId=7403 SymbolicName=MSG_SORT_POSITION
  98. Language=English
  99. Sort position must be greater than zero.
  100. .
  101. MessageId=7404 SymbolicName=MSG_SORT_INVALID_SWITCH
  102. Language=English
  103. Invalid switch.
  104. .
  105. MessageId=7405 SymbolicName=MSG_SORT_MAX_TOO_LARGE
  106. Language=English
  107. Record maximum cannot exceed 65535.
  108. .
  109. MessageId=7406 SymbolicName=MSG_SORT_ONE_INPUT
  110. Language=English
  111. Input file specified two times.
  112. .
  113. MessageId=7407 SymbolicName=MSG_SORT_CHAR_CONVERSION
  114. Language=English
  115. Internal character conversion error.
  116. .
  117. MessageId=7408 SymbolicName=MSG_SORT_NOT_ENOUGH_MEMORY
  118. Language=English
  119. Not enough main memory to complete the sort.
  120. .
  121. MessageId=7409 SymbolicName=MSG_SORT_REDIRECT_INPUT
  122. Language=English
  123. Warning: use of redirected input for large sorts is usually slower than specifying the input file name directly to sort.
  124. .
  125. MessageId=7410 SymbolicName=MSG_SORT_REDIRECT_OUTPUT
  126. Language=English
  127. Warning: use of redirected output for large sorts is usually slower than specifying the output file name directly to sort.
  128. .
  129. MessageId=7411 SymbolicName=MSG_SORT_MEM_TOO_LOW
  130. Language=English
  131. Warning: the specified memory size is too low and will be adjusted to the minimum.
  132. .
  133. MessageId=7412 SymbolicName=MSG_SORT_MEM_GT_PAGE
  134. Language=English
  135. Warning: the specifed memory size is being reduced to the available paging memory.
  136. .
  137. MessageId=7413 SymbolicName=MSG_SORT_INPUT_FILE
  138. Language=English
  139. <input file>
  140. .
  141. MessageId=7414 SymbolicName=MSG_SORT_OUTPUT_FILE
  142. Language=English
  143. <output file>
  144. .
  145. ;// MessageId 7415 used above for help.
  146. ;#endif // _SORTMSG_