ASCII.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. .TH ASCII 1
  2. .SH NAME
  3. ascii - strip all the pure ASCII lines from a file
  4. .SH SYNOPSIS
  5. fBasciifR [fB-nfR]fR [fIfilefR]fR
  6. .br
  7. .de FL
  8. .TP
  9. \fB\$1\fR
  10. \$2
  11. ..
  12. .de EX
  13. .TP 20
  14. \fB\$1\fR
  15. # \$2
  16. ..
  17. .SH OPTIONS
  18. .FL "-n" "Extract the lines containing nonASCII characters"
  19. .SH EXAMPLES
  20. .EX "ascii file >outf" "Write all the ASCII lines on fIoutffR"
  21. .EX "ascii -n <file >outf" "Write all the nonASCII lines on fIoutffR"
  22. .SH DESCRIPTION
  23. .PP
  24. Sometimes a file contains some nonASCII characters that are in the way.
  25. This program allows the lines containing only ASCII characters to be 
  26. fIgreppedfR from the file.  
  27. With the fB-nfR flag, the nonASCII lines are 
  28. fIgreppedfR.  
  29. No matter whether the flag is used or not, the program returns an exit status 
  30. of true if the file is pure ASCII, and false otherwise.
  31. .SH "SEE ALSO"
  32. .BR tr (1).