Do you have a .ledgerrc file that points to your data file? Try running the command with an explicit --file option and report the results.
Craig Earls 520-300-1182 > On Jun 19, 2014, at 21:18, Eric Abrahamsen <[email protected]> wrote: > > Craig Earls <[email protected]> writes: > >> That explains it. Xact requires an argument. Give it part of a payee >> you are interested in and it will provide you a prototype with the >> last xact using that payee. > > Sorry, I wasn't clear: it doesn't *ever* return anything, no matter what > the argument. So with this posting in my ledger file: > > 06/19 * Starbucks > Expenses:Food:Cafe 5.15 USD > Assets:Cash > > All of these invocation return the exact same value: a blank newline, > and the 0 exit code: > > ledger xact > ledger xact Starbucks > ledger xact Starbucks cafe 8 > ledger xact no such account > ledger xact asdfasdfadf > > Everything returns a blank. > > Thanks, > Eric > > >> Craig Earls >> 520-300-1182 >> >>> On Jun 18, 2014, at 6:42, Eric Abrahamsen <[email protected]> wrote: >>> >>> Craig Earls <[email protected]> writes: >>> >>>> what exact command are you issuing? >>> >>> Just "ledger xact" from the command line. "ledger xact" plus *anything* >>> (nothing, gibberish, a valid specification) returns the same thing: a >>> blank newline. >>> >>>> On Tue, Jun 17, 2014 at 11:13 PM, Eric Abrahamsen >>>> <[email protected]> wrote: >>>>> Hi, I'm using the ledger-git package on archlinux's AUR -- it reports >>>>> version 3.0.3-20140608. >>>>> >>>>> So far as I can tell, since that most recent update, the xact command >>>>> doesn't return anything at all. From the command line and within emacs, >>>>> it just spits out a newline, and that's it. Malformed input doesn't >>>>> trigger an error, and valid input doesn't result in a posting. Just >>>>> nothing. Running "echo $?" after the xact command gives me 0 -- all is >>>>> well! >>>>> >>>>> Is anyone else seeing this? >>>>> >>>>> Thanks, >>>>> Eric >>>>> >>>>> -- >>>>> >>>>> --- >>>>> 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. >>>> >>>> >>>> >>>> -- >>>> Craig, Corona De Tucson, AZ >>>> enderw88.wordpress.com >>> >>> -- >>> >>> --- >>> 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.
