72 lines
1.2 KiB
HTML
72 lines
1.2 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>dosread(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>dosread(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
dosread - read a file from an MS-DOS diskette [IBM]
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>dosread</STRONG> [<STRONG>-a</STRONG>] <EM>drive</EM> <EM>file</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-a</STRONG> ASCII file
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>dosread</STRONG> <STRONG>C</STRONG> <STRONG>g/adv</STRONG> <STRONG>>adv</STRONG>
|
|
# Read file <EM>g</EM>/<EM>adv</EM> from hard disk
|
|
|
|
<STRONG>dosread</STRONG> <STRONG>-a</STRONG> <STRONG>A</STRONG> <STRONG>prog.c</STRONG> <STRONG>>x</STRONG>
|
|
# Read ASCII file <EM>prog</EM>.<EM>c</EM> from drive A
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Dosread</EM> reads one MS-DOS 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 MINIX convention. See <STRONG>dosdir</STRONG> on the use of
|
|
single letter drive codes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|