Skip to content

Commit 01dfa83

Browse files
authored
Merge pull request #379 from sshanks-kx/fixes
fix broken links
2 parents e5e22b4 + b1ae583 commit 01dfa83

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+76
-88
lines changed

docs/basics/by-topic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ QLIC | folder searched for `k4.lic` or `kc.lic` license key file | `$QHOME`:
112112
## [Interprocess communication](ipc.md)
113113

114114
<div markdown="1" class="typewriter">
115-
[\p](syscmds.md#listening-port) [-p](cmdline.md#listening-port) listen to port
115+
[\p](syscmds.md#p-listening-port) [-p](cmdline.md#-p-listening-port) listen to port
116116
[hopen hclose](../ref/hopen.md) open/close connection
117117
[.z](../ref/dotz.md) callbacks
118118
</div>
@@ -251,11 +251,11 @@ QLIC | folder searched for `k4.lic` or `kc.lic` license key file | `$QHOME`:
251251
[lower](../ref/lower.md) shift to lower case
252252
[ltrim](../ref/trim.md) trim leading space
253253
[md5](../ref/md5.md) hash from string
254-
[rtrim](../ref/trim.md#rtrim) trim trailing space
254+
[rtrim](../ref/trim.md) trim trailing space
255255
[ss](../ref/ss.md#ss) string search
256256
[ssr](../ref/ss.md#ssr) string search and replace
257257
[trim](../ref/trim.md) trim leading and trailing space
258-
[upper](../ref/lower.md#upper) shift to upper case
258+
[upper](../ref/lower.md) shift to upper case
259259
</div>
260260

261261

docs/basics/datatypes.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,6 @@ q)0w + 5
229229
0w
230230
```
231231

232-
:fontawesome-solid-book:
233-
[`.Q.M`](../ref/dotq.md#m-long-infinity) (long infinity)
234-
235232
??? detail "To infinity and beyond"
236233

237234
Floating-point arithmetic follows [IEEE754](https://en.wikipedia.org/wiki/IEEE_754 "Wikipedia").

docs/basics/debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ q))&
230230

231231
The debugger restores the original namespace and language (q or k) setting for each frame.
232232

233-
View calculations and system commands, including [`\l`](syscmds.md#l-load), correspond to individual debug stack frames.
233+
View calculations and system commands, including [`\l`](syscmds.md#l-load-file-or-directory), correspond to individual debug stack frames.
234234

235235
```q
236236
.d1 ).Q.bt`

docs/basics/errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ pread
390390
pwuid
391391

392392
: OS is missing libraries for `getpwuid`.
393-
(Most likely 32-bit app on 64-bit OS. Try to [install ia32-libs](../learn/install.md#step-2-put-kdb-in-qhome).)
393+
(Most likely 32-bit app on 64-bit OS. Try to [install ia32-libs](../learn/install.md).)
394394

395395
: or
396396

@@ -629,7 +629,7 @@ error | explanation
629629
[](){#cpu}cpu | The license is for fewer CPUs than available
630630
[](){#exp}exp | License expiry date is prior to system date. The license has expired. Commercial license holders should have their Designated Contacts reach out to licadmin@kx.com or contact sales@kx.com to begin a new commercial agreement.
631631
[](){#host}host | The hostname reported by the OS does not match the hostname or hostname-pattern in the license.<br><br>If you see `255.255.255.255` in the kdb+ banner, the machine likely cannot resolve its hostname to an IP address, which will cause a `host` error.<br><br>Since 4.1t 2022.07.01,4.0 2022.07.01 the detected hostname is printed. It can be used to compare with the hostname used within the license.
632-
[](){#k4.lic}k4.lic | `k4.lic` file not found. If the environment variable [`QLIC`](../learn/licensing.md#keeping-the-license-key-file-elsewhere) is set, check it is set to the directory containing the license file. **Note** that it should not be set to the location of the license file itself, but to the directory that contains the license file. If `QLIC` is not set, check that the directory specified by the environment variables [`QHOME`](../learn/install.md#step-2-put-kdb-in-qhome) contains the license file.
632+
[](){#k4.lic}k4.lic | `k4.lic` file not found. If the environment variable [`QLIC`](../learn/licensing.md#keeping-the-license-key-file-elsewhere) is set, check it is set to the directory containing the license file. **Note** that it should not be set to the location of the license file itself, but to the directory that contains the license file. If `QLIC` is not set, check that the directory specified by the environment variables [`QHOME`](../learn/install.md#step-2-unzip-your-download) contains the license file.
633633
[](){#os}os | Wrong OS or operating-system error (if runtime error)
634634
[](){#srv}srv | Client-only license in server mode
635635
[](){#upd}upd | Version of kdb+ more recent than update date, _or_ the function `upd` is undefined (sometimes encountered during ``-11!`:logfile``)

docs/basics/funsql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ where:
4141
* `c` is the [Where phrase](qsql.md#where-phrase), a list of constraints.
4242
Every constraint in `c` is a [parse tree](parsetrees.md) representing an expression to be evaluated; the result of each being a boolean vector. The parse tree consists of a function followed by a list of its arguments, each an expression containing column names and other variables. Represented by symbols, it distinguishes actual symbol constants by enlisting them. The function is applied to the arguments, producing a boolean vector that selects the rows. The selection is performed in the order of the items in `c`, from left to right: only rows selected by one constraint are evaluated by the next.
4343
<!-- : Every item in `c` is a triple consisting of a boolean- or int- valued binary function together with its arguments, each an expression containing column names and other variables. The function is applied to the two arguments, producing a boolean vector. The resulting boolean vector selects the rows that yield non-zero results. The selection is performed in the order of the items in `c`, from left to right. -->
44-
* `b` is the [By phrase](qsql.md#by-phrase).
44+
* `b` is the [By phrase](../ref/select.md#by-phrase).
4545
The domain of dictionary `b` is a list of symbols that are the key names for the grouping. Its range is a list of column expressions (parse trees) whose results are used to construct the groups. The grouping is ordered by the domain items, from major to minor.
4646
`b` is one of:
4747
- the general empty list `()`
@@ -160,7 +160,7 @@ y | 15 29
160160

161161
### Select distinct
162162

163-
For special case [`select distinct`](../ref/select.md#distinct) specify `b` as `1b`.
163+
For special case [`select distinct`](../ref/select.md#limit-expression) specify `b` as `1b`.
164164

165165
```q
166166
q)t:([] c1:`a`b`a`c`b`c; c2:1 1 1 2 2 2; c3:10 20 30 40 50 60)
@@ -715,7 +715,7 @@ q)(#;3;enlist `a`b`c`d`e`f)~parse"3#`a`b`c`d`e`f"
715715
1b
716716
```
717717

718-
This causes a difficulty. As [discussed above](#variadic-operators), q has no unary syntax for operators.
718+
This causes a difficulty as q has no unary syntax for operators.
719719

720720
Which means the following isn’t a valid q expression and so returns an error.
721721

docs/basics/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Characters ignored by the interpreter.
135135
A communication handle specifies a network resource.
136136

137137
:fontawesome-solid-book:
138-
[Communication handles](../ref/hopen.md#Communication-handles)
138+
[Communication handles](../ref/hopen.md#communication-handles)
139139
<br>
140140
:fontawesome-solid-street-view:
141141
_Q for Mortals_

docs/basics/ipc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: TCP/IP is used for communicating between processes. The protocol is
99
_Simple, powerful, fast_
1010

1111
<div markdown="1" class="typewriter">
12-
[\p](syscmds.md#listening-port) [-p](cmdline.md#listening-port) listen to port
12+
[\p](syscmds.md#p-listening-port) [-p](cmdline.md#-p-listening-port) listen to port
1313
[hopen hclose](../ref/hopen.md) open/close connection
1414
[.z](../ref/dotz.md) handle message (callbacks)
1515
</div>

docs/basics/peach.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ keywords: kdb+, parallel, parallel each, peach, q, uniform
1313
The iterator [Each Parallel](../ref/maps.md#each-parallel) `':` (or its mnemonic keyword `peach`) delegates processing to secondary tasks for parallel execution.
1414
This can be useful, for example, for computationally expensive functions, or for accessing several drives at once from a single CPU.
1515

16-
To execute in parallel, start kdb+ with multiple secondary processes, using [`-s` in the command line](cmdline.md#-s-secondary-threads), and (since V3.5) the [`\s`](syscmds.md#s-number-of-secondary-processes) system command.
16+
To execute in parallel, start kdb+ with multiple secondary processes, using [`-s` in the command line](cmdline.md#-s-secondary-threads), and (since V3.5) the [`\s`](syscmds.md#s-number-of-secondary-threads) system command.
1717

1818
Each Parallel iterates a unary value: the argument list of the derived function is divided between secondary processes for evaluation.
1919

@@ -45,7 +45,7 @@ q)\ts .[g;]peach flip(2#1000000;2 3)
4545
32 1744
4646
```
4747

48-
The secondary processes used by Parallel Each and `peach` are either threads or processes according to the sign of the [value used in the command line](cmdline.md#-s-secondary-processes).
48+
The secondary processes used by Parallel Each and `peach` are either threads or processes according to the sign of the [value used in the command line](cmdline.md#-s-secondary-threads).
4949

5050

5151
## Threads

docs/basics/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ A sequence of expressions separated by semicolons and surrounded by left and rig
383383

384384
The first expression in a function expression can be a _signature_: an argument expression of the form `[name1;name2;…;nameN]` naming the arguments of the function. Like bracket notation, function notation does not require at least one semicolon; one expression (or none) between braces will do.
385385

386-
Within a script, a function may be defined across [multiple lines](#multi-line-expressions).
386+
Within a script, a function may be defined across [multiple lines](#multiline-expressions).
387387

388388
:fontawesome-solid-book-open:
389389
[Function notation](function-notation.md)

docs/basics/syscmds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ If the subsequent attempt fail, the request exits with [`'wsfull`](../basics/err
371371

372372
: If most of the objects allocated from a 64MB slab are freed but one remains, the slab still cannot be returned to the OS (or coalesced).
373373

374-
The following example shows freeing an object ≥64MB in `deferred` mode, while inspecting memory usage via [`.Q.w[]`](../ref/dotq.md##w-memory-stats):
374+
The following example shows freeing an object ≥64MB in `deferred` mode, while inspecting memory usage via [`.Q.w[]`](../ref/dotq.md#w-memory-stats):
375375
```q
376376
q).Q.w[]`used`heap / original memory used and memory reserved by kdb+ at time of test
377377
371552 67108864
@@ -457,7 +457,7 @@ q)\a / with tables quote and trade
457457
`p`quote`s`sp`trade
458458
```
459459

460-
If [logging](../kb/logging.md) is enabled, the command [checkpoints](../kb/logging.md#check-pointing) the `.qdb` file and empties the log file.
460+
If [logging](../kb/logging.md) is enabled, the command [checkpoints](../kb/logging.md#check-pointing-rolling) the `.qdb` file and empties the log file.
461461

462462

463463
!!! danger "Operating systems may create hidden files, such as `DS_Store`, that block `\l` on a directory."

0 commit comments

Comments
 (0)