By downloading this code you agree to the
Source Code Use License (PDF). |
{ version = 1.02; (* of ordcut.p 2003 Sep 3}
(* begin module describe.ordcut *)
(*
name
ordcut: cut out characters based on their ordinality
synopsis
ordcut(input: in, ordcutp: in, output: out, output: out)
files
input: a file
output: the input file with only characters within the range
ordcutp: parameters to control the program. The file must contain the
following parameters, one per line:
parameterversion: The version number of the program. This allows the
user to be warned if an old parameter file is used.
NOT USED
description
The purpose of ordcut is to remove weird characters from a file.
Now that it is written, I just realized that I can do the same
kind of thing with:
tr -cd [:print:]
Yea, you would think. But it turns ou tht that drops all
the numbers on MacOSX!
The removed characters are turned into spaces so that
words can be extracted from the file.
examples
documentation
see also
Program that tells what characters are in a file: wtch.p
author
Thomas Dana Schneider
bugs
The program does not read the parameter file yet.
It simply gives printable characters, including
tab, space, linefeed and carriage return.
technical notes
*)
(* end module describe.ordcut *)
{This manual page was created by makman 1.45}
{created by htmlink 1.62}