DOSREAD.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH DOSREAD 1
- .SH NAME
- dosread - read a file from an MS-DOS diskette [IBM]
- .SH SYNOPSIS
- fBdosreadfR [fB-afR] fIdrive fIfilefR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-a" "ASCII file"
- .SH EXAMPLES
- .EX "dosread C g/adv >adv" "Read file fIg/advfR from hard disk"
- .EX "dosread -a A prog.c >x" "Read ASCII file fIprog.cfR from drive A"
- .SH DESCRIPTION
- .PP
- .I Dosread
- reads one s-2MS-DOSs+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-2MINIXs+2
- convention. See fBdosdirfR on the use of single letter drive codes.