List of Payee transactions in 2.6

53 views
Skip to first unread message

Christopher Tomasulo

unread,
Jan 12, 2014, 8:53:37 PM1/12/14
to ledge...@googlegroups.com
In the example on the main page is the following...

2006/10/15 Exxon
    Expenses:Auto:Gas       $10.00
    Liabilities:MasterCard     $-10.00

Maybe I'm missing something, but if I had twenty transactions in the register with the payee "Exxon" as it is in this entry, how would I pull up a list of those transactions in version 2.6 of ledger?

John Wiegley

unread,
Jan 13, 2014, 2:34:15 AM1/13/14
to ledge...@googlegroups.com
I believe it's just 'ledger reg @Exxon' in both 2.6 and 3.0.

John

Christopher Tomasulo

unread,
Jan 13, 2014, 7:22:07 PM1/13/14
to ledge...@googlegroups.com, jo...@newartisans.com
Thanks for the reply John.  I can't get it to work.

I have two entries that have Walmart as the payee.  In the following format...

2014/01/12 Walmart
      Expenses:Electronics     $45.00
      Assets:Checking            $-45.00


When I type "ledger reg @Walmart" there is a pause for a second and then I'm back at the command prompt with no output.

Craig Earls

unread,
Jan 13, 2014, 8:35:32 PM1/13/14
to ledge...@googlegroups.com, jo...@newartisans.com, ledge...@googlegroups.com
Is there any way you can upgrade to 3.0?   
--
Craig


--
 
---
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 ledger-cli+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Douglas Philips

unread,
Jan 13, 2014, 8:55:10 PM1/13/14
to ledge...@googlegroups.com
ledger reg -- Walmart

(something similar works for me, and I'm still on 2.6 because "it works" and the hassle of building
3.0 for features I don't need isn't worth it. "Get off my lawn!" :-) )

-=Doug

Steve Purcell

unread,
Jan 14, 2014, 5:22:30 AM1/14/14
to ledge...@googlegroups.com
On 14 Jan 2014, at 01:55, Douglas Philips <douglas...@gmail.com> wrote:

> ledger reg -- Walmart
>
> (something similar works for me, and I'm still on 2.6 because "it works" and the hassle of building
> 3.0 for features I don't need isn't worth it. "Get off my lawn!" :-) )



Since you appear to be on OS X, I’ll just point out that if you are (or can be) using homebrew, it’s as easy to install 3.0 as it is to install 2.6:

brew install ledger —HEAD

(Not that I’m saying you *should* upgrade, just providing context...)

-Steve

John Wiegley

unread,
Jan 14, 2014, 6:29:50 AM1/14/14
to ledge...@googlegroups.com
>>>>> Steve Purcell <st...@sanityinc.com> writes:

> (Not that I’m saying you *should* upgrade, just providing context...)

I will go on record as saying that everyone who can, should upgrade to 2.6. I
believe it is much more stable and feature complete, plus it makes it easier
for us to help you. :)

John

Christopher Tomasulo

unread,
Jan 14, 2014, 9:21:21 AM1/14/14
to ledge...@googlegroups.com
I did manage to get 3.0 installed about a week ago on my linux distro.  I installed from the Github source code.  The issue is that I can't use it from any directory (I'm not a Linux pro).   I have to be in the directory that I installed it to get it to work.   I haven't figured out how to make it work from the command line regardless of where I am in the file system.  So I am still using 2.6 until I figure it out.



--

---
You received this message because you are subscribed to a topic in the Google Groups "Ledger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ledger-cli/QQqxO_lqCc0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ledger-cli+...@googlegroups.com.

Kaito Michishige

unread,
Jan 14, 2014, 9:23:49 AM1/14/14
to ledge...@googlegroups.com
The ledger binary needs to be on your $PATH. Simply compiling it won't put it there. You could try `make install`, and see if that works. This should put all the files in an appropriate location.

fa-ml

unread,
Jan 14, 2014, 10:17:00 AM1/14/14
to ledge...@googlegroups.com
On Tue, Jan 14, 2014 at 09:21:21AM -0500, Christopher Tomasulo wrote:
> I did manage to get 3.0 installed about a week ago on my linux distro. I
> installed from the Github source code. The issue is that I can't use it
> from any directory (I'm not a Linux pro). I have to be in the directory
> that I installed it to get it to work. I haven't figured out how to make
> it work from the command line regardless of where I am in the file system.
> So I am still using 2.6 until I figure it out.
>

You need to install it. If you don't want to do that there is a quick and
extremely dirty way:

1. open your ~/.bashrc
2. add this line

alias ledger='~/path/to/your/compiled/./ledger'


you need of course to change the string inside '' to the proper
path/executable name
Reply all
Reply to author
Forward
0 new messages