home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
uncomm.zip
/
read.me
next >
Wrap
Text File
|
1994-02-17
|
1KB
|
35 lines
UnComment 3.3
It removes comments from program source code. The following languages
are recognized (via file extension):
Extension Language Comment Delimiters
--------- -------- ------------------
.pas Pascal (* *) { }
.ada Ada --
.for FORTRAN C
.asm Assembler ;
.mak Makefile #
every other extension is treated as C/C++ source code with comment
delimiters of /* */ and //.
If the extension is not one of the above you can 'force' the language
by specifying the extension as the third argument to the program.
For example, if you wanted to remove comments from a dependency file
such as 'MYFILE.DEP' that is included in a NMAKE makefile you need to
type:
uncomment MYFILE.DEP MYFILE.OUT .MAK
Notice that when you process a file called 'MAKEFILE' the program
recognizes it as if it had a .MAK extension and thus the third argument
isn't needed.
************************************************************************
THERE IS ABSOLUTELY NO WARRANTY FOR THIS PROGRAM!
USE AT YOUR OWN RISK!
************************************************************************