maskfiles - Lay over several text files on top of each other like transparency sheets for overhead projectors



NAME

maskfiles - Lay over several text files on top of each other like transparency sheets for overhead projectors


SYNOPSIS

maskfiles [OPTIONS] [--] FILE_1 FILE_2 [FILE_3 ... FILE_n >]


DESCRIPTION

Take files from 1 to n and virtually put them on top of each other by matching byte offsets. If a file from the upper layer have a hole (space by default, otherwise see --hole-char option), then the char on lower layers "looks through" it. Non hole chars just block the lower layers, so they are visible at the end.

Output is STDOUT. No input files are written.


OPTIONS

-h, --hole-chars CHARS

Which chars are to be looked through. By default space is the only hole char. Add underscore to it by example: --hole-chars=" _"

--nul-hole

Make NUL chars to look through as well.

--linewise

Respect line breaks.

 maskfiles - Lay over several text files on top of each other like transparency sheets for overhead projectors