* lipp f <flipp...@gmail.com> [2023-10-16 10:55]:
> 2003-08-31 TD Canadian Money Market
> TD Group RRSP                             CAD -23,284.00
> "SDRRSP - TD:TD Canadian Money Market"      "TDB164" 2,328.40000 @@ CAD 
> 23,284.00
> 
> This seems to be working but quotes are part of the account name and 

Never quote account names.

> There is another post here saying that the only rule is that two
> spaces are not allowed because two spaces separate account name from
> amount.

Correct.  Two spaces or a tab.  But one space between characters is
fine in account names.  No need to quote.

> commodity name as well, which I don't think is correct.

The rule for commodities is here:
https://ledger-cli.org/doc/ledger3.html#Naming-Commodities

"Commodity names can have any character, including white-space.
However, if you include white-space or numeric characters, the
commodity name must be enclosed in double quotes ‘"’:"

> commodity name as well, which I don't think is correct.

Yes, the quotes become part of the name of a quoted commodity.
That's in fact correct, even if a bit unintuitive.

I opened a bug about this years ago:
https://github.com/ledger/ledger/issues/1473

-- 
Martin Michlmayr
https://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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/20231016233341.GA1244006%40jirafa.cyrius.com.

Reply via email to