1dcat takes as input one or more 1D files, and writes out a 1D file containing the side-by-side concatenation of all or a subset of the columns from the input files.
- -nonconst\ : Columns that are identically constant should be omitted
- from the output.
- -nonfixed\ : Keep only columns that are marked as ‘free’ in the
- 3dAllineate header from ‘-1Dparam_save’. If there is no such header, all columns are kept.
- -form FORM: Format of the numbers to be output.
- You can also substitute -form FORM with shortcuts such as -i, -f, or -c. For help on -form’s usage, and its shortcut versions see ccalc’s help for the option of the same name.
-stack: Stack the columns of the resultant matrix in the output.
- -sel SEL: Apply the same column/row selection string to all filenames
on the command line. For example:
1dcat -sel ‘[0,2]’ f1.1D f2.1Dis the same as: 1dcat f1.1D’[1,2]’ f2.1D’[1,2]’ The advantage of the option is that it allows wildcard use in file specification so that you can run something like:
1dcat -sel ‘[0,2]’ f?.1D
- Input file 1:
- 1 2 3 4
- Input file 2:
- 5 6 7 8
1dcat data1.1D data2.1D > catout.1D Output file:
1 5 2 6 3 7 4 8
++ Compile date = Dec 16 2015
Enter search terms or a module, class or function name.