/+n Specifies the comparison character. The default is to use the first character of each line as
a starting point. By using another character as a starting point, you can change the sort order of
the data. For example, the Dir command won??™t let you sort a directory listing by time without
first sorting it by date. If you??™re interested in sorting the listing by time, you could set the sort to
use the time, /+13, as the starting point for the sort. This particular sort is handy because some
378 CHAPTER 14 WORKING WITH DATA
vendors, including Microsoft, have used the time as a method of indicating the version number
of their DLLs. Consequently, sorting by the time can provide a very fast indication of version
number as long as you know what the time indicator means (vendors often provide this information
in their knowledge bases).
NOTE There??™s no space between the /+ command line switch and the starting position of the
sort. However, there??™s a space between the other command line switches and their arguments.
Make sure you add or remove space as appropriate or the Sort utility will fail with an invalid command
line switch error message.
Pages:
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897