You can combine expressions using & and |, see
http://ledger-cli.org/3.0/doc/ledger3.html#Value-Expressions
(commodity == '\$') | (commodity == 'gallons') for example
On Feb 5, 2014 7:05 PM, "Rick F" <[email protected]> wrote:

> It gets rid of the hours, but unfortunately it also gets rid of gallons.
> I am already using basis (-B) to convert the gallons back to dollars and I
> need those for my accounts to balance.  If the --limit operation worked *after
> *basis, then it looks like it would do what I need.
>
> Rick
>
> On Wednesday, February 5, 2014 9:24:24 AM UTC-8, Craig Earls wrote:
>>
>> try limiting the commodity to $ like this:
>>
>>  --limit "commodity=='\$'"
>>
>>
>>
>> On Wed, Feb 5, 2014 at 10:06 AM, Rick F <[email protected]> wrote:
>>
>>> In my ledger file I keep track of hours and dollars.  I care about the
>>> hours accounts.  My accountant does not.  I don't want to confuse my
>>> accountant.
>>>
>>> Is there a simple way to get a report out of ledger that ignores
>>> everything not denominated in dollars?
>>>
>>>  --
>>>
>>> ---
>>> 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/groups/opt_out.
>>>
>>
>>
>>
>> --
>> 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/groups/opt_out.
>

-- 

--- 
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/groups/opt_out.

Reply via email to