Hi Dan and Eric,

Dan Davison wrote:
> Eric S Fraga <ucec...@ucl.ac.uk> writes:
>> Indeed, ledger cannot read from standard input.
>
> I've asked on the ledger list and the 3.0 (and perhaps some older)
> versions of ledger do support -f - to read from stdin. Could you try
> this version of the patch?

Unluckily for me, ledger 2.6.1 (the latest precompiled binary, on
http://www.assembla.com/spaces/Goldcoast/documents) does not work like that:

#+begin_src sh
  s...@mediacenter:...ness/Accounting 0$ ledger --version
  Ledger 2.6.1, the command-line accounting tool

  Copyright (c) 2003-2008, John Wiegley.  All rights reserved.

  This program is made available under the terms of the BSD Public License.
  See LICENSE file included with the distribution for details and disclaimer.

  (modules: gmp, pcre, xml)

  s...@mediacenter:...ness/Accounting 0$ cat 00307599427-telechargement.dat | 
ledger -f - bal

  s...@mediacenter:...ness/Accounting 0$ ledger -f 
00307599427-telechargement.dat bal
           -181.52 EUR  Assets
            181.52 EUR  Expenses

  s...@mediacenter:...ness/Accounting 0$
#+end_src

Everything is that easier under Ubuntu...

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to