ASCII.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .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).