Date: 1 Dec 83 James M. Knox TriSoft SD -- SORTED DIRECTORY (68K) == ====================== The SD-68K program provides a means of displaying a directory of user files, sorted in alphabetic order. It is intended as an CP/M-68K counterpoint to the excellant public domain program SD written for CP/M-2.x by Bruce Ratoff (and modified by almost everyone, including myself). Although the two programs are not identical in terms of options and capabilities, most SD-68K will accept the most commonly used options in a form consistent with SD.COM. Also, since the extensions are different for the two programs, both may coexist on a disk; one as SD.COM, and the other as SD.68K. USE: SD.68K is invoked as A> SD [file-spec] [>outfile] [-optionlist] where the items in brackets are all optional and position independent. file-spec == standard CP/M file specification of the form d:name.typ including * and ? wildcards. >outfile == this option re-directs the output to a CP/M file where 'outfile' is the file-spec. -optionlist == is a list of options controlling the output format from SD. These options may be either 'lumped' together, or separately with each preceeded by a '-' flag (ala UNIX). A '$' character may be used instead of the '-' for compatibility with CP/M-2.x SD. Valid options are: -K == toggle display of file sized (default is to display size) -S == toggle display of 'system' files (default is to not display 'system' files) -F == toggle display of file 'flags' (default is to not display flags). Flags are: S == system file R == read only A == archived Examples of valid SD commands: SD == list all files on current default disk and directory. SD *.* == same as above. SD test.* == list all files on current default disk and directory with 'test' as the file name. SD -S -F ABC?DE.DAT >FILES.LIS == list all files on current default disk and directory with the file name 'ABC', any letter, 'DE', and type 'DAT'. Output will be to file 'FILES.LIS', flags will be displayed, and system files included. SD >FILES.LIS ABC?DE.DAT $FS == same as above Display formats are: File names only == 6 names per line File names and == 4 names per line either size or flags File names and == 3 names per line both size and flags