Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The isx cat command concatenates the specified ISX files into a single ISX output file.

Ensure you use single quotes (') around the specified pattern, or your command shell will expand the pattern before passing it to the MettleCI command line!

For example, let’s assume we have three ISX files:

Code Block
$> ls -l *.isx
-rw-r--r--@ 1 johnmckeever  staff   5.5M 10 Aug 12:46 jm_one.isx
-rw-r--r--@ 1 johnmckeever  staff   5.5M 10 Aug 12:46 jm_three.isx
-rw-r--r--@ 1 johnmckeever  staff   5.5M 10 Aug 12:46 jm_two.isx

The command…

Code Block
$> mettleci isx cat \
   -isx out.isx \
   -pattern `jm_*.isx`

…will successfully concatenate your three files, but…

Code Block
$> mettleci isx cat \
   -isx out.isx \
   -pattern jm_*.isx

…will not work, as jm_*.isx will expand to jm_one.isx jm_three.isx jm_two.isx which is syntactically incorrect.

Syntax

Include Page
isx cat command syntax
isx cat command syntax

...