ASCII.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH ASCII 1
- .SH NAME
- ascii - strip all the pure ASCII lines from a file
- .SH SYNOPSIS
- fBasciifR [fB-nfR]fR [fIfilefR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-n" "Extract the lines containing nonASCII characters"
- .SH EXAMPLES
- .EX "ascii file >outf" "Write all the ASCII lines on fIoutffR"
- .EX "ascii -n <file >outf" "Write all the nonASCII lines on fIoutffR"
- .SH DESCRIPTION
- .PP
- Sometimes a file contains some nonASCII characters that are in the way.
- This program allows the lines containing only ASCII characters to be
- fIgreppedfR from the file.
- With the fB-nfR flag, the nonASCII lines are
- fIgreppedfR.
- No matter whether the flag is used or not, the program returns an exit status
- of true if the file is pure ASCII, and false otherwise.
- .SH "SEE ALSO"
- .BR tr (1).