You have seen programs like this before. But this one does have an edge.
--
** Introducing "nocode"
"nocode" helps you remove (or replace) ASCII codes from files (text files
most probably). For instance you might wish to remove all CR-characters
(ASCII 13) from a file transferred from a MS-DOS machine. "nocode" is an
improved clone of "StripCodes" (also in the Aminet util/conv-directory),
in case you know that program.
--
** Improvements over similar programs like "StripCodes"
* source and target files may be the same (i.e. target file is
overwritten in this case)
* fast assembly language implementation of the core remove/replace
routines
* explicit messages (and error messages)
--
** "nocode"'s Usage is very similar to "Stripcodes"'...
* source and target files different
example: nocode file1 file2 code 13
... removes all characters with ASCII code 13 (=CR) from file1 and
writes the stripped data into file2 (file1 remains unchanged).
* same source and target
example: nocode file1 code 13
... same thing as above, only here the result of the stripping process
is written back into file1.
* replace characters
example 1: nocode file1 file2 code 13 replacecode 88
example 2: nocode file1 code 13 replacecode 88
... replace ASCII code 13 characters with ASCII code 88 ones (does not
remove anything, file length remains the same).
* shorthands
You may also use shorthands for the keywords "code" ("c") and
"replacecode" ("r"), i.e. example 2 from above can be tersely rewritten
as:
example 2 terse: nocode file1 c 13 r 88
--
** This is version 1.1, the second "nocode" release on Aminet.
1.1 implements three improvements over version 1.0:
- less memory consumption (half as much)
- quicker (a little)
- added shorthands for "code" and "replacecode"-keywords
--
** "nocode" is public domain software.
The source in AmigaE³ and m68k inline assembly is included (thanks again
to Wouter for E³, this still fabulous, if unfortunately unportable
language).
|