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