diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-12-05 23:34:01 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2023-12-06 08:55:03 +0800 |
commit | a0bd969581a5cf3a3f88c74ba31e4764d7b24fd2 (patch) | |
tree | dbd0638fe603967c57ae9b0c4d2a14048a696d30 | |
parent | 1ab0add0afbd91624133141158349c3551c42a93 (diff) | |
download | fork-ledger-a0bd969581a5cf3a3f88c74ba31e4764d7b24fd2.tar.gz fork-ledger-a0bd969581a5cf3a3f88c74ba31e4764d7b24fd2.tar.bz2 fork-ledger-a0bd969581a5cf3a3f88c74ba31e4764d7b24fd2.zip |
man: Fix common glyph usage errors
by using correct special characters as defined in groff_char(7),
e.g. using \[aq] instead of "'", as "'" may get displayed as "’"
by certain groff output devices, e.g. PDF or utf8.
-rw-r--r-- | doc/ledger.1 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index 82b03b46..f64be720 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -138,7 +138,7 @@ The prices are reported with the granularity of a single day. Report prices for all commodities in postings matching the .Ar report-query . Prices are reported down to the second, using the same format as the -.Pa ~/.pricedb +.Pa \[ti]/.pricedb file. .It Ic print Oo Ar report-query Oc Print out the full transactions of any matching postings using the same @@ -214,10 +214,10 @@ Sort postings by evaluating the given Note that a comma-separated list of expressions is allowed, in which case each sorting term is used in order to determine the final ordering. For example, to search by date and then amount, one would use: -.Dl ledger reg --sort 'date, amount' +.Dl ledger reg --sort \[aq]date, amount\[aq] The sort order may be controlled with the '-' sign. For example, to sort in reverse chronological order: -.Dl ledger reg --sort '-date' +.Dl ledger reg --sort \[aq]-date\[aq] .It Fl \-tail Ar number Only show the last .Ar number @@ -261,7 +261,7 @@ are also accepted. List all postings matching the .Ar sql-query . This command allows to generate SQL-like queries, e.g.: -.Dl Li ledger select date,amount from posts where account=~/Income/ +.Dl Li ledger select date,amount from posts where account=\[ti]/Income/ .It Ic source Parse a journal file and checks it for errors. .Nm @@ -319,11 +319,11 @@ desired width. Prepend .Ar EXPR to all accounts reported. That is, the option -.Fl \-account Ar \*q'Personal'\*q +.Fl \-account Ar \*q\[aq]Personal\[aq]\*q would tack .Ar Personal: and -.Fl \-account Ar \*qtag('VAT')\*q +.Fl \-account Ar \*qtag(\[aq]VAT\[aq])\*q would tack the value of the VAT tag to the beginning of every account reported in a .Ic balance @@ -453,7 +453,7 @@ according to .Ar FMT . .It Fl \-current Pq Fl c Shorthand for -.Fl \-limit Ar "'date <= today'" . +.Fl \-limit Ar "\[aq]date <= today\[aq]" . .It Fl \-daily Pq Fl D Shorthand for .Fl \-period Ar daily . @@ -1434,14 +1434,14 @@ may be set using an environment variable if the option has a long name. For example setting the environment variable .Ev LEDGER_DATE_FORMAT="%d.%m.%Y" will have the same effect as specifying -.Fl \-date-format Ar '%d.%m.%Y' +.Fl \-date-format Ar \[aq]%d.%m.%Y\[aq] on the command-line. Options on the command-line always take precedence over environment variable settings, however. .Sh FILES .Bl -tag -width -indent .It Pa $XDG_CONFIG_HOME/ledger/ledgerrc -.It Pa ~/.config/ledger/ledgerrc -.It Pa ~/.ledgerrc +.It Pa \[ti]/.config/ledger/ledgerrc +.It Pa \[ti]/.ledgerrc Your personal .Nm initializations. |