DOSREAD 1
NAME
dosread - read a file from an MS-DOS diskette [IBM]
SYNOPSIS
dosread [-a] drive file
\\\$1\ \\$2 ..
20 \\\$1\ # \\$2 ..
OPTIONS
5 -a # ASCII file
EXAMPLES
20 dosread C g/adv >adv # Read file g/adv from hard disk
20 dosread -a A prog.c >x # Read ASCII file prog.c from drive A
DESCRIPTION
Dosread reads one \s-2MS-DOS\s+2 file and writes it on standard output. The file name must use slash, not backslash as a separator. ASCII files have the final CTRL-Z stripped, and carriage return plus line feed are mapped to line feed only, the usual \s-1MINIX 3\s-1 convention. See dosdir on the use of single letter drive codes.