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

dev/gg/mangle-v3.0.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Mangle v3.0b - source de-formatter/de-commentor
Author: louise at louise.amiga.hu
Uploader:
Type:dev/gg
Architecture:m68k-amigaos
Date:2001-10-21
Download:dev/gg/mangle-v3.0.lha - View contents
Readme:dev/gg/mangle-v3.0.readme
Downloads:586

Ported by LouiSe

more info and other AMIGA ports at:
http://louise.amiga.hu

-----------------------------------------

Mangle is a source de-formatter/de-commentor. It will remove all comments and/or
formatting from C/C++ source code leaving only what is required. 

********************************************
Mangle v3.0b by Jon Newman <jnewman@oplnk.net>
http://mangle.oplnk.net
********************************************

This source is distributed under the GNU General Public License.
http://www.gnu.org/copyleft/gpl.html

Mangle is a utility which will remove all comments and/or formatting from
any C/C++ source file. This program has been thouroughly tested and should
operate correctly under all situations. But if you do find an error in its
output please email me the source file you are trying to change along with
a description of what you say is going wrong.

--------------------------------------------------------------------------
Installation:

To build and install the source, simply type:
make

Optionally, from root, you can install it by typing:
make install

Options/Usage:
Enabling options in mangle is simple and straightforward.

To just remove as much as possible from the file (completely deformat
and decomment):
~# mangle foo.cpp

Here is an example of how to just remove the comments from a source:
~# mangle -c foo.cpp

More advanced features are like the ability to change the options on each
file, here is an example of how to remove the comments from one source,
output to stdout, but remove everything from the second source
and outputting to bar.cpp.mangle (the default is "[file name].mangle").
~# mangle -co foo.cpp -x bar.cpp

The '-x' option makes mangle remove all options. Here is an example similar
to the one above, but it instead leaves the CR/LF's in the second source.
~# mangle -co foo.cpp -xr bar.cpp

As you can see, the '-x' option was used first to remove all current
options, and then the '-r' option was appended to make mangle keep the
CR/LF's.

If you don't specify any options to a file, it will use the previous files
options.
~# mangle -co foo.cpp bar.cpp
That command will use the '-co' options for both foo.cpp and bar.cpp

NOTE: the 'c' option first removes all others that relate to format
modification, so you can do:
~# mangle -r foo.cpp -c bar.cpp
That will first clear out 'r' and then add 'c', option 'x' is not 
required. This will not negate the modifiers 'o', 'w', and 't', as they
are separate from the text modification.

Well I think thats all that needs to be said about the arguments you can
give mangle. Email me any comments/suggestions/questions you have.
-------------------------------------------------------------------------
All comments/suggestions should be directed to my email.
<jnewman@oplnk.net>


Contents of dev/gg/mangle-v3.0.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1246    2980  41.8% -lh5- afca Oct 18  2001 mangle-v3.0.readme
[generic]                  230     367  62.7% -lh5- 2517 Oct 18  2001 mangle-v3.0/CHANGES
[generic]                 2761    9593  28.8% -lh5- bf81 Oct 18  2001 mangle-v3.0/dformat.cpp
[generic]                  569    1058  53.8% -lh5- 0600 Oct 18  2001 mangle-v3.0/dformat.h
[generic]                 2897    6225  46.5% -lh5- a6ba Oct 18  2001 mangle-v3.0/dformat.o
[generic]                  215     465  46.2% -lh5- 7dcc Oct 18  2001 mangle-v3.0/func.cpp
[generic]                  108     150  72.0% -lh5- df3d Oct 18  2001 mangle-v3.0/func.h
[generic]                  263     400  65.8% -lh5- 4c5b Oct 18  2001 mangle-v3.0/func.o
[generic]                 1634    4686  34.9% -lh5- be3b Oct 18  2001 mangle-v3.0/io.cpp
[generic]                  644    1333  48.3% -lh5- 251b Oct 18  2001 mangle-v3.0/io.h
[generic]                 2818    6502  43.3% -lh5- 448d Oct 18  2001 mangle-v3.0/io.o
[generic]                  468     844  55.5% -lh5- b0ff Oct 18  2001 mangle-v3.0/main.cpp
[generic]                  206     358  57.5% -lh5- a958 Oct 18  2001 mangle-v3.0/main.h
[generic]                  477     841  56.7% -lh5- 558f Oct 18  2001 mangle-v3.0/main.o
[generic]                  455    1042  43.7% -lh5- 0f37 Oct 18  2001 mangle-v3.0/Makefile
[generic]                44553  103608  43.0% -lh5- 4df0 Oct 18  2001 mangle-v3.0/mangle
[generic]                 1176    3136  37.5% -lh5- 4f34 Oct 18  2001 mangle-v3.0/mangle.1
[generic]                 1089    2525  43.1% -lh5- 0fdb Oct 18  2001 mangle-v3.0/README
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        18 files   61809  146113  42.3%            Oct 20  2001
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>