3 dosread \- read a file from an MS-DOS diskette [IBM]
5 \fBdosread\fR [\fB\-a\fR] \fIdrive \fIfile\fR
18 .FL "\-a" "ASCII file"
20 .EX "dosread C g/adv >adv" "Read file \fIg/adv\fR from hard disk"
21 .EX "dosread \-a A prog.c >x" "Read ASCII file \fIprog.c\fR from drive A"
25 reads one \s-2MS-DOS\s+2 file and writes it on standard output.
26 The file name must use slash, not backslash as a separator.
27 ASCII files have the final CTRL-Z stripped, and carriage return plus
28 line feed are mapped to line feed only, the usual
30 convention. See \fBdosdir\fR on the use of single letter drive codes.