I tried all these now, but get the same errors. Somehow I can't find any
 examples on this in the manual either. 

 Jostein


On 09.03.14,23:33, Johann Klähn wrote:
> Oh. My bad. Try has_tag("Cordoba")
> Or maybe you want to match on the tag value: tag("Cordoba")=~/ vinteferien/
> 
> Make sure to also take a look at the manual. It's excellent (thanks to
> Craig & co).
> On Mar 9, 2014 11:25 PM, "Jostein Berntsen" <[email protected]> wrote:
> 
> > Thanks, I now get this error:
> >
> > jostein:~/Documents/Finans/ledger$ ledger reg Uttak --limit
> > "tag=~/Cordoba/"
> > While evaluating value expression:
> >   ((tag =~ /Cordoba/) & (account =~ /Uttak/))
> > While handling posting from
> > "/home/jostein/Documents/Finans/ledger/jbfinans.dat", line 5:
> > >         Assets:Bank:Lønnskonto                          27088.98  NOK ;
> > :DogT: Sparebank
> > Error: Too few arguments to function
> >
> > Jostein
> >
> >
> > On 09.03.14,23:21, Johann Klähn wrote:
> > > Can you just try leaving off the trailing dashes after the limit
> > argument?
> > > Unfortunately I'm away from my computer too at the moment.
> > > On Mar 9, 2014 11:16 PM, "Jostein Berntsen" <[email protected]>
> > wrote:
> > >
> > > > Thanks. Now I get this error:
> > > >
> > > > jostein:~/Documents/Finans/ledger$ ledger reg Uttak --limit
> > > > "tag=~/Cordoba/"--
> > > > While parsing value expression:
> > > >   (tag=~/Cordoba/--)&((account =~ /Uttak/))
> > > >                    ^
> > > > Error: ) operator not followed by argument
> > > >
> > > > Jostein
> > > >
> > > >
> > > > On 09.03.14,14:55, Craig Earls wrote:
> > > > > Use --limit "tag=~/Cordoba/"--
> > > > > Craig
> > > > >
> > > > > On Sun, Mar 9, 2014 at 2:30 PM, Jostein Berntsen <
> > [email protected]>
> > > > > wrote:
> > > > >
> > > > > > Tags are very useful. There are some things about the queries I
> > don't
> > > > > > understand. I would like to ask for all withdrawals that has the
> > tag
> > > > > > Cordoba, but when I do:
> > > > > > ledger reg Uttak tag Cordoba
> > > > > > I get no output.
> > > > > > If I run
> > > > > > ledger reg Uttak and tag Cordoba
> > > > > > I get way too much output. Is there another syntax that works here?
> > > > > > dat entry example:
> > > > > > 2014/02/24  130630091
> > > > > >     Expenses:Reise:Uttak                    2557,63 NOK
> > > > > >     Assets:Bank:Spbkonto                    -2557,63 NOK
> > > > > >     ; Cordoba: Uttak - Reise vinteferien
> > > > > > Jostein
> > > > > > --
> > > > > > ---
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups "Ledger" group.
> > > > > > To unsubscribe from this group and stop receiving emails from it,
> > send
> > > > an email to [email protected].
> > > > > > For more options, visit https://groups.google.com/d/optout.
> > > > >
> > > > > --
> > > > >
> > > > > ---
> > > > > You received this message because you are subscribed to the Google
> > > > Groups "Ledger" group.
> > > > > To unsubscribe from this group and stop receiving emails from it,
> > send
> > > > an email to [email protected].
> > > > > For more options, visit https://groups.google.com/d/optout.
> > > >
> > > > --
> > > >
> > > > ---
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Ledger" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send
> > an
> > > > email to [email protected].
> > > > For more options, visit https://groups.google.com/d/optout.
> > > >
> > >
> > > --
> > >
> > > ---
> > > You received this message because you are subscribed to the Google
> > Groups "Ledger" group.
> > > To unsubscribe from this group and stop receiving emails from it, send
> > an email to [email protected].
> > > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> >
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "Ledger" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > For more options, visit https://groups.google.com/d/optout.
> >
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Ledger" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to