cdxdoc

cat : Concatenate Files

USAGE : cdx cat [options...] [files...]

Combine files, one after the other. Do the right thing with file headers.

Command Line Options

     
-h –header=Mode Header requirements. See below.
-p –pad=Mode> Add trailing newline if absent. See below.
-n –number=Name[,Start[,Where]] Number the lines in column ‘Name’, starting at number ‘Start’, ‘Where’ can be ‘begin’ or ‘end’
-b –begin Shortcut for --number number,1,begin
-e –end Shortcut for --number number,1,end
-r –remove=Matcher Remove lines that match. Most useful matchers are: Empty, Blank, Hash, Slash
-s –skip=Matcher Do not number lines that match.

Header Mode

The header mode dictates what file headers are expected, and what to do when files don’t match each other

Pad Mode

What to do if files don’t end with a newline

home