From: Ben Soares Date: Wed, 20 Sep 2023 10:41:27 +0000 (+0100) Subject: JAL-629 Explanation of \{m\} in case anyone actually wants it X-Git-Tag: Release_2_11_4_0~174^2~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a5ef7bc19bcd58a33bb385db729fd62c88e64b09;p=jalview.git JAL-629 Explanation of \{m\} in case anyone actually wants it --- diff --git a/help/help/html/features/clarguments-advanced.html b/help/help/html/features/clarguments-advanced.html index eea97fb..8e4012c 100644 --- a/help/help/html/features/clarguments-advanced.html +++ b/help/help/html/features/clarguments-advanced.html @@ -75,7 +75,7 @@

-

More substitutions ({n}, {++n}, [*])

+

More substitutions ({n}, {++n}, [*], {m}, {++m})

In the basic usage document we have a list of special strings that get replaced in output filename values with parts of input filename values. @@ -97,8 +97,10 @@ because all of the command line arguments are read and sorted into their linked IDs before starting to be processed, and the [myId3] specified linked ID takes precedence over the [*] wildcard linked ID.

-

+

+ All of the substitutions talked about so far are evaluated in the argument parsing process. If in some cases (almost certainly involving structure images!) you find {n} is not incrementing when you think it should, when specifying ‑‑structureimage filenames you can also use {m} and {++m}, along with {structuredirname}, {structurebasename} and {structureextension} which are substituted at the point of use. {m} is just a plain counter starting at 0. +

Equals separator and Java file globs