summaryrefslogtreecommitdiff
path: root/doc/ledger3.texi
diff options
context:
space:
mode:
authorMarcus Zanona <zanona@users.noreply.github.com>2022-04-08 07:32:55 +0000
committerMartin Michlmayr <tbm@cyrius.com>2022-04-08 16:00:07 +0800
commitc8151dea46cdc2a0af7e26a146402a6ebb98310d (patch)
tree53cd00e21a2bfad5f5d6d1d72912075bbea4df59 /doc/ledger3.texi
parent0f3888c4d43e579754cb23688d8897b579c2550c (diff)
downloadfork-ledger-c8151dea46cdc2a0af7e26a146402a6ebb98310d.tar.gz
fork-ledger-c8151dea46cdc2a0af7e26a146402a6ebb98310d.tar.bz2
fork-ledger-c8151dea46cdc2a0af7e26a146402a6ebb98310d.zip
docs: add instructions for querying quoted commodities
resolves #2077
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r--doc/ledger3.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index edfb2518..8a94271b 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -1773,6 +1773,12 @@ commodity name must be enclosed in double quotes @samp{"}:
Actif:SG PEE STK $-10742.54
@end smallexample
+Please note that, for querying quoted commodities, the quotes need to be escaped, as follows:
+
+@smallexample @c command:15453B3
+$ ledger -f d reg -l 'commodity == "\"Arcancia Équilibre 454\""'
+@end smallexample
+
@node Buying and Selling Stock, Fixing Lot Prices, Naming Commodities, Currency and Commodities
@subsection Buying and Selling Stock
@cindex buying stock