From 8dec8b2630de98dded93a40304721c47d0020c41 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 6 May 2016 16:44:29 -0700 Subject: [PATCH] doc: drop commented table --- hledger/doc/queries.m4.md | 59 --------------------------------------- 1 file changed, 59 deletions(-) diff --git a/hledger/doc/queries.m4.md b/hledger/doc/queries.m4.md index beeb90671..1aadb35de 100644 --- a/hledger/doc/queries.m4.md +++ b/hledger/doc/queries.m4.md @@ -80,65 +80,6 @@ parent transaction. **`not:`** : before any of the above negates the match. ---- -# as a table: -#---------------------------------- ------------------------------------------------------------------------------------------------------------------------ -#`REGEX` match account names by this regular expression -# -#\ \ -#`acct:REGEX` same as above -# -#\ \ -#`amt:N`, `amt:N`, `amt:>=N` amount that is equal to, less than, or greater than N. -#\ (Multi-commodity amounts are not tested, and will always match.) -#\ The comparison has two modes: if N is preceded by a `+` or `-` sign -# (or is 0), the two signed numbers are compared. Otherwise, the -# absolute magnitudes are compared, ignoring sign. -# -#\ \ -#`code:REGEX` match by transaction code (eg check number) -# -#\ \ -#`cur:REGEX` match postings or transactions including any amounts -#\ whose currency/commodity symbol is fully matched by REGEX. (For a -#\ partial match, use `.*REGEX.*`). Note, to match characters which are -#\ regex-significant, like the dollar sign (`$`), you need to prepend `\`. -#\ And when using the command line you need to add one more level -# of quoting to hide it from the shell, so eg do: `hledger print cur:'\$'` -# or `hledger print cur:\\$`. -# -#\ \ -#`desc:REGEX` match transaction descriptions -# -#\ \ -#`date:PERIODEXPR` match dates within the specified [period](#period-expressions) -#\ (which should not include a [reporting interval](#reporting-interval)) -# -#\ \ -#`date2:PERIODEXPR` as above, but match [secondary dates](#secondary-dates) -# -#\ \ -#`depth:N` match (or display, depending on command) accounts at or above this [depth](#depth-limiting) -# -#\ \ -#`real:`, `real:0` match real or [virtual](#virtual-postings) postings respectively -# -#\ \ -#`status:*`, `status:!`, `status:` match cleared, pending, or uncleared/pending transactions respectively -# \ -# \ -# -#\ \ -#`tag:REGEX[=REGEX]` match by [tag](#tags) name, and optionally also by tag value. -#\ Note a `tag:` query is considered to match a transaction if it matches any of the postings. -#\ Also remember that postings inherit the tags of their parent transaction. -# -#\ \ -#`not:` before any of the above negates the match. -... ----------------------------------- ------------------------------------------------------------------------------------------------------------------------ - Some of these can also be expressed as command-line options (eg `depth:2` is equivalent to `--depth 2`). Generally you can mix options and query arguments, and the resulting query will be their intersection (perhaps excluding the `-p/--period` option).