When will I remember that I need to escape $ on the command line...

On Wed, Apr 11, 2012 at 11:59, John Wiegley <[email protected]> wrote:

> >>>>> Craig Earls <[email protected]>
> writes:
>
> > While trying to answer another users question I realized I need a better
> > understanding of the wildcards in formatting statements.  These are the
> %$3
> > etc.  you see at the end of the register formatting string.  I couldn't
> get
> > them to work for me on the command line. Can anyone clue me in on how
> they
> > are supposed to work?  I thought they were simple field substitutions
> from
> > the first line of the format string.
>
> If you have %("foo")%/%$1, it should print foofoo.  It simply says, "repeat
> the interpolated _expression_ for the first substitution" (not just the
> interpolated string value).  The %/ is used by the various reports
> differently.  For balance it separate the account lines from the total
> line;
> for register it separates the first posting of a transaction from the other
> postings in the same transaction.
>
> John
>



-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

Reply via email to