doc: fix typos
This commit is contained in:
parent
cad9c49e6d
commit
7310951178
@ -1090,7 +1090,7 @@ getEffectiveAssignment rules record f = lastMay $ map snd $ assignments
|
|||||||
-- the value of the referenced CSV field to match against.
|
-- the value of the referenced CSV field to match against.
|
||||||
csvfieldvalue = dbg8 "csvfieldvalue" $ replaceCsvFieldReference rules record csvfieldref
|
csvfieldvalue = dbg8 "csvfieldvalue" $ replaceCsvFieldReference rules record csvfieldref
|
||||||
|
|
||||||
-- | Render a field assigment's template, possibly interpolating referenced
|
-- | Render a field assignment's template, possibly interpolating referenced
|
||||||
-- CSV field values. Outer whitespace is removed from interpolated values.
|
-- CSV field values. Outer whitespace is removed from interpolated values.
|
||||||
renderTemplate :: CsvRules -> CsvRecord -> FieldTemplate -> String
|
renderTemplate :: CsvRules -> CsvRecord -> FieldTemplate -> String
|
||||||
renderTemplate rules record t = regexReplaceBy "%[A-z0-9_-]+" (replaceCsvFieldReference rules record) t
|
renderTemplate rules record t = regexReplaceBy "%[A-z0-9_-]+" (replaceCsvFieldReference rules record) t
|
||||||
|
|||||||
@ -788,7 +788,7 @@ data. See:
|
|||||||
|
|
||||||
A posting amount can be set in one of these ways:
|
A posting amount can be set in one of these ways:
|
||||||
|
|
||||||
- by assigning (with a fields list or field assigment) to
|
- by assigning (with a fields list or field assignment) to
|
||||||
`amountN` (posting N's amount) or `amount` (posting 1's amount)
|
`amountN` (posting N's amount) or `amount` (posting 1's amount)
|
||||||
|
|
||||||
- by assigning to `amountN-in` and `amountN-out` (or `amount-in` and `amount-out`).
|
- by assigning to `amountN-in` and `amountN-out` (or `amount-in` and `amount-out`).
|
||||||
|
|||||||
@ -128,7 +128,7 @@ creates an `AF_UNIX` socket file at the supplied path and uses that for communic
|
|||||||
This is an alternative way of running multiple hledger-web instances behind
|
This is an alternative way of running multiple hledger-web instances behind
|
||||||
a reverse proxy that handles authentication for different users.
|
a reverse proxy that handles authentication for different users.
|
||||||
The path can be derived in a predictable way, eg by using the username within the path.
|
The path can be derived in a predictable way, eg by using the username within the path.
|
||||||
As an example, `nginx` as reverse proxy can use the variabel `$remote_user` to
|
As an example, `nginx` as reverse proxy can use the variable `$remote_user` to
|
||||||
derive a path from the username used in a [HTTP basic authentication](https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/).
|
derive a path from the username used in a [HTTP basic authentication](https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/).
|
||||||
The following `proxy_pass` directive allows access to all `hledger-web`
|
The following `proxy_pass` directive allows access to all `hledger-web`
|
||||||
instances that created a socket in `/tmp/hledger/`:
|
instances that created a socket in `/tmp/hledger/`:
|
||||||
|
|||||||
@ -154,12 +154,12 @@ User-visible changes in the hledger command line tool and library.
|
|||||||
|
|
||||||
hledger ui 'amt:>200'
|
hledger ui 'amt:>200'
|
||||||
|
|
||||||
failed. This was becasue the process of dispatching from `hledger ui`
|
failed. This was because the process of dispatching from `hledger ui`
|
||||||
to `hledger-ui` (note addition of `-`) lost the quotes around
|
to `hledger-ui` (note addition of `-`) lost the quotes around
|
||||||
`amt:>20` and the `>` character was interpreted as a shell redirection
|
`amt:>20` and the `>` character was interpreted as a shell redirection
|
||||||
operator, rather than as part of the argument.
|
operator, rather than as part of the argument.
|
||||||
|
|
||||||
The machinery for quoting or escaping arguements which contain
|
The machinery for quoting or escaping arguments which contain
|
||||||
characters which require quoting or escaping (thus far whitespace and
|
characters which require quoting or escaping (thus far whitespace and
|
||||||
quotes) already existed. This solution simply adds shell stdio
|
quotes) already existed. This solution simply adds shell stdio
|
||||||
redirection characters to this set.
|
redirection characters to this set.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user