From 6f7b8f8b5555af96f59e0c522ff1548ccdb4a872 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 26 Feb 2024 11:05:05 -1000 Subject: [PATCH] ;doc:queries:combining multiple queries: edits --- hledger/hledger.m4.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 000b906e9..50a6bd568 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -4972,11 +4972,9 @@ The [print](#print) command is a little different, showing transactions which: - have no postings matching any of the negative account terms AND - match all the other terms. -We also support more complex boolean queries with the 'expr:' prefix. -This allows one to combine queries using one of three operators: -AND, OR, and NOT, where NOT is different syntax for 'not:'. - -Examples of such queries are: +We also support more complex boolean queries with the `expr:` prefix. +This allows one to combine queries using `AND`, `OR`, and `NOT`. +(`NOT` is equivalent to the `not:` prefix.) Some examples: - Match transactions with 'cool' in the description AND with the 'A' tag