Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
------------------------------------------------------------------------------------------------
JUNCOMMENT 1.1
------------------------------------------------------------------------------------------------
This application deletes C comments like // and /**/, and xml comments like <!-- --> in the
file, or files inside the specified folder.
------------------------------------------------------------------------------------------------
USAGE: java -jar juncomment.jar [OPTION] INPUT_FILE_OR_FOLDER [OUTPUT_FILE_OR_EXTENSION]
OPTIONS:
-d (duplicate) Deletes the comments in the input file and generates an output file.
-s (self) Deletes the comments in the input file and overwrites it.
-f (folder) Like -s, but for all the files inside the specified folder that match
the especified extension.
-r (recursive) Like -f, but also for subfolders in a recursive fashion.
Examples:
java -jar juncomment.jar -d "C:\Documents\file_in.xhtml" "C:\Documents\file_out.xhtml"
java -jar juncomment.jar -s "C:\Documents\file_in.xhtml"
java -jar juncomment.jar -f "C:\Folder" "java"
java -jar juncomment.jar -r "C:\Folder" "xhtml"