Skip to content

Commit f55c003

Browse files
committed
fixing special var links (have to have same case as item they link to now)
1 parent 5042d4d commit f55c003

File tree

1 file changed

+28
-27
lines changed

1 file changed

+28
-27
lines changed

docs/appendix-a-index.txt

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ first positional submatch, there is **`$1`**, **`$2`**, ... too
413413
(don't stops at **`$9`** like Perl 5), alias to
414414
[**`$()[0]`**](#round-brackets-var) and
415415
[**`$/[0]`**](#slash-var), P5s $0 is
416-
[**\$\*EXECUTABLE\_NAME**](#executable-name-global-var)
416+
[**\$\*EXECUTABLE\_NAME**](#EXECUTABLE-NAME-global-var)
417417

418418
<a id="colon"/><a id="colon-adverb"/>
419419
**:**() &mdash;
@@ -1331,7 +1331,7 @@ searching on character level (default), see also:
13311331
<a id="chdir"/>
13321332
**[chdir](tablet-5-io.html#dir)**
13331333
changes the current working directory
1334-
(**[$\*CWD](#cwd-global-var)**)
1334+
(**[$\*CWD](#CWD-global-var)**)
13351335

13361336
<a id="CHECK-phaser"/>
13371337
**CHECK**
@@ -1601,7 +1601,7 @@ returns the denominator of a rational number
16011601
**die** &mdash;
16021602
throws a fatal **[Exception](#exception-type)**, the default
16031603
exception handler **[print](#print)**'s each element
1604-
of the list to **[$\*ERR](#err-global-var)**
1604+
of the list to **[$\*ERR](#ERR-global-var)**
16051605

16061606
<a id="digit-subrule"/>
16071607
**\<digit\>**
@@ -1618,8 +1618,8 @@ default
16181618
**\$\*DISTRO**
16191619
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
16201620
running OS distribution, you might want to use `$*DISTRO.name`,
1621-
see also: **[\$\*KERNEL](#kernel-global-var)** and
1622-
**[\$\*VM](#vm-global-var)**
1621+
see also: **[\$\*KERNEL](#KERNEL-global-var)** and
1622+
**[\$\*VM](#VM-global-var)**
16231623

16241624
<a id="DISTRO-compiler-var"/>
16251625
**\$\?DISTRO**
@@ -2304,7 +2304,7 @@ just import definitions from an already loaded module (see
23042304
**\$\*IN**
23052305
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
23062306
file handle for thestandard input (command line mostly), see also
2307-
**[$\*OUT](#out-global-var)**, is STDIN in P5
2307+
**[$\*OUT](#OUT-global-var)**, is STDIN in P5
23082308

23092309
<a id="INC-global-var"/>
23102310
**\@\*INC**
@@ -2431,8 +2431,8 @@ forces subrules to memorize everything (even comments)
24312431
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
24322432
(core or type of the) running operating system, use
24332433
*$\*KERNEL.name* instead of Perl 5s $OSNAME, see also:
2434-
**[\$\*DISTRO](#distro-global-var)** and
2435-
**[\$\*VM](#vm-global-var)**
2434+
**[\$\*DISTRO](#DISTRO-global-var)** and
2435+
**[\$\*VM](#VM-global-var)**
24362436

24372437
<a id="KERNEL-compiler-var"/>
24382438
**\$?KERNEL**
@@ -2493,7 +2493,7 @@ everything within the brackets is lowercase
24932493
<a id="LANG-global-var"/>
24942494
**$\*LANG**
24952495
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
2496-
LANG variable from **[%\*ENV](#env-global-var)**
2496+
LANG variable from **[%\*ENV](#ENV-global-var)**
24972497
that defines what human language is used
24982498

24992499
<a id="LANG-compiler-var"/>
@@ -2947,7 +2947,7 @@ names for variables and routines
29472947
**\$\*OUT**
29482948
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
29492949
file handle for standard output (command line mostly), see also
2950-
**[$\*IN](#in-global-var)**, is STDOUT in P5
2950+
**[$\*IN](#IN-global-var)**, is STDOUT in P5
29512951

29522952
<a id="ov-modifier"/>
29532953
**:ov** *[«regex modifier»](appendix-b-grouped.html#regex-modifier)* &mdash;
@@ -2971,7 +2971,7 @@ file is a named pipe (FIFO), or filehandle is a pipe
29712971
**[:p](tablet-2-basic-syntax.html#paths)**
29722972
*[«quoting adverb»](appendix-b-grouped.html#quoting-adverbs)* &mdash;
29732973
quote paths and create path object that know the right format of
2974-
the current **[$\*KERNEL](#kernel-global-var)** with
2974+
the current **[$\*KERNEL](#KERNEL-global-var)** with
29752975
**Q :p /.../ **, short for **[:path](#path-adverb)**
29762976

29772977
<a id="p-modifier"/>
@@ -3058,7 +3058,7 @@ later defined rules can't be applied, opposite of
30583058
**[:path](tablet-2-basic-syntax.html#paths)**
30593059
*[«quoting adverb»](appendix-b-grouped.html#quoting-adverbs)* &mdash;
30603060
quote paths and create path object that know the right format of
3061-
the current **[$\*KERNEL](#kernel-global-var)** with
3061+
the current **[$\*KERNEL](#KERNEL-global-var)** with
30623062
**Q :path /.../ **, long for **[:p](#p-adverb)**
30633063

30643064
<a id="perl"/>
@@ -3682,15 +3682,15 @@ matched string, long for **[:mm](#mm-modifier)**
36823682
<a id="samespace-modifier"/>
36833683
**:samespace**
36843684
*[«regex modifier»](appendix-b-grouped.html#regex-modifier)* &mdash;
3685-
smart space mapping for substitutions, long for
3686-
**[:ss](#ss-modifier)**,
3687-
**[ss/.../.../](#ss-op)** is alias to
3688-
**s:samespace/.../.../** &mdash; example: *ss/teh hsa/the has/;*
3685+
smart space mapping for substitutions, long alias of
3686+
**[:ss](#ss-modifier)** &mdash;
3687+
example: *ss/teh hsa/the has/;* &mdash;
3688+
see also: **[:sigspace](#sigspace-modifier)**
36893689

36903690
<a id="say"/>
36913691
**[say](tablet-5-io.html#say)** &mdash;
36923692
makes output via command line
3693-
(**[$\*OUT](#out-global-var)**) like
3693+
(**[$\*OUT](#OUT-global-var)**) like
36943694
**[print](#print)**, but appends a newline
36953695
(**[\\n](#backslash-n)**)
36963696

@@ -3844,23 +3844,23 @@ string like **[printf](#printf)**, but returns the
38443844
string instead of outputting it
38453845

38463846
<a id="sqrt"/>
3847-
**sqrt** &mdash;
3848-
square root of $n (**[Num](#Num-type)** - first and only parameter)
3847+
**sqrt**([Num](#Num-type) $f) &mdash;
3848+
square root of $f &mdash; see also: **[exp](#exp)**
38493849

38503850
<a id="ss"/><a id="ss-op"/>
38513851
**[ss/ / /](tablet-9-regexes.html#substitution)**
38523852
*[«regex quoting op»](appendix-b-grouped.html#quoting-ops)* &mdash;
38533853
performs **[rx](#rx)** based substitution, spaces
3854-
are just subrule separators, alias to **s:ss/.../.../**, e.g.:
3855-
ss/teh hsa/the has/;
3854+
are just subrule separators,
3855+
`ss/.../.../` is alias to [`s:ss/.../.../`](#ss-modifier) &mdash;
3856+
example: `ss/teh hsa/the has/;`
38563857

38573858
<a id="ss-modifier"/>
38583859
**:ss**
38593860
*[«regex modifier»](appendix-b-grouped.html#regex-modifier)* &mdash;
38603861
only for for substitution, whitespace separates subregexes like
38613862
**[:sigspace](#sigspace-modifier)**, but also in the
3862-
second part, short for
3863-
**[:samespace](#samespace-modifier)**
3863+
second part, short alais of **[:samespace](#samespace-modifier)**
38643864

38653865
<a id="st-modifier"/>
38663866
**:st**
@@ -4248,8 +4248,8 @@ returns an array of just the values &mdash; example: *(1 =\> 2, 3 =\>
42484248
**\$\*VM**
42494249
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
42504250
running virtual machine, might want to use *$\*VM.name*, see
4251-
also: **[\$\*DISTRO](#distro-global-var)** and
4252-
**[\$\*KERNEL](#kernel-global-var)**
4251+
also: **[\$\*DISTRO](#DISTRO-global-var)** and
4252+
**[\$\*KERNEL](#KERNEL-global-var)**
42534253

42544254
<a id="VM-compiler-var"/>
42554255
**\$\?VM**
@@ -4393,7 +4393,7 @@ by providing a block after the subroutine's signature definition
43934393

43944394
<a id="words"/>
43954395
**words**
4396-
*(string method)* &mdash;
4396+
*«string method»* &mdash;
43974397
splits a sting into a list of words &mdash;
43984398
example: `$input.words($limit)` equals [`$input.comb( / \\S+ /,
43994399
$limit )`](#comb)
@@ -4412,7 +4412,8 @@ but can forward to it, opposite of **[unwrap](#unwrap)**
44124412

44134413
<a id="write"/>
44144414
**[write](tablet-5-io.html#read)**
4415-
*(Buf method)* &mdash; writes content of all parameter into that buffer
4415+
*«Buf method»* &mdash;
4416+
writes content of all parameter into that buffer
44164417

44174418
<a id="ws-subrule"/>
44184419
**\<ws\>**

0 commit comments

Comments
 (0)