* Stefano Zacchiroli <[email protected]> [2014-06-11 09:08]:
>   $ echo $COLUMNS 
>   134
>   $ ledger -f 2014.ledger reg
>   14-Apr-01 rimborso pregresso .. Assets:Reimbursable      167,20 EUR 167,20 
> EUR
>   [SNIP]
>   $ ledger -f 2014.ledger --columns $COLUMNS reg
>   14-Apr-01 rimborso pregresso CENSORED    FOO  Assets:Reimbursable 167,20 
> EUR            167,20 EUR
> 
> Bug or am I missing something obvious?

I don't know why, but it seems $COLUMNS is not passed to ledger.
std::getenv("COLUMNS") doesn't return anything whereas
std::getenv("HOME") does.

Also, this works:
  COLUMNS=100 ledger -f d reg

-- 
Martin Michlmayr
http://www.cyrius.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.

Reply via email to