On Tue, Jun 10, 2014 at 01:00:51PM -0500, John Wiegley wrote:
> >>>>> Stefano Zacchiroli <[email protected]> writes:
> > Is there any reason why ledger couldn't use the $COLUMNS envvar and default
> > to it, rather than de facto asking users to do so in his stead?
> It does use the COLUMNS variable.  See line 186 of report.cc.

It definitely doesn't for me.

  $ 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?

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  [email protected] . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »

-- 

--- 
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