Zettelstore

Help: test-strip-comment-lines
Login

Help: test-strip-comment-lines

The "test-strip-comment-lines" command:

Usage: fossil test-strip-comment-lines ?OPTIONS? INPUTFILE

Read INPUTFILE and print it without comment lines (starting with '#'). Keep lines starting with "\#" but remove the initial backslash.

This is used to test and debug the blob_strip_comment_lines() routine.

Options:

-y|--side-by-side
Show diff of INPUTFILE and output side-by-side
-W|--width N
Width of lines in side-by-side diff