AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/conv/nocode.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:Fast ASCII code stripper with an edge
Author: rade at coli.uni-sb.de (Ralph Debusmann)
Uploader:rade coli uni-sb de (Ralph Debusmann)
Type:util/conv
Architecture:m68k-amigaos
Date:1999-07-22
Replaces:util/conv/nocode.lha
Download:util/conv/nocode.lha - View contents
Readme:util/conv/nocode.readme
Downloads:472

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).


Contents of util/conv/nocode.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1859    3360  55.3% -lh5- b6e2 Jul 20  1999 nocode/nocode
[generic]                 1436    4086  35.1% -lh5- 4add Jul 20  1999 nocode/nocode.e
[generic]                 1026    2208  46.5% -lh5- fa69 Jul 20  1999 nocode/nocode.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    4321    9654  44.8%            Jul 21  1999
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>