Skip to content

Commit 6f3dbe3

Browse files
authored
Merge pull request #13 from hansonchar/linkfix-depth1
Fix hyperlinks of markdown pages at depth 1
2 parents 92be6d2 + a489aaa commit 6f3dbe3

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/bash4.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
!!! warning "Attention"
44
Since Bash 4 has been around for quite some time now (4.3 will come soon), I consider it to be "standard".
55
This page is not maintained anymore and is left here to keep your links working.
6-
See the [bashchanges](/scripting/bashchanges) page for new stuff introduced.
6+
See the [bashchanges](scripting/bashchanges.md) page for new stuff introduced.
77

88
Besides many bugfixes since Bash 3.2, Bash 4 will bring some interesting
99
new features for shell users and scripters. See also
10-
[bashchanges](/scripting/bashchanges) for a small general overview with
10+
[bashchanges](scripting/bashchanges.md) for a small general overview with
1111
more details.
1212

1313
Not all of the changes and news are included here, just the biggest or
@@ -34,7 +34,7 @@ files that represent the filedescriptors of the started process.
3434
In other words: It lets you start a process in background and
3535
communicate with its input and output data streams.
3636

37-
See [The coproc keyword](/syntax/keywords/coproc)
37+
See [The coproc keyword](syntax/keywords/coproc.md)
3838

3939
### The new "mapfile" builtin
4040

@@ -43,7 +43,7 @@ an array. This avoids having to fill an array yourself using a loop. It
4343
enables you to define the range of lines to read, and optionally call a
4444
callback, for example to display a progress bar.
4545

46-
See: [mapfile](/commands/builtin/mapfile)
46+
See: [mapfile](commands/builtin/mapfile.md)
4747

4848
### Changes to the "case" keyword
4949

@@ -55,7 +55,7 @@ list (rather than terminate the `case` construct).
5555
The `;;&` terminator causes the `case` construct to test the next given
5656
pattern instead of terminating the whole execution.
5757

58-
See [case](/syntax/ccmd/case)
58+
See [case](syntax/ccmd/case.md)
5959

6060
### Changes to the "declare" builtin
6161

@@ -86,7 +86,7 @@ A new option, `-i`, was introduced to be able to preload the input
8686
buffer with some text (when Readline is used, with `-e`). The user is
8787
able to change the text, or press return to accept it.
8888

89-
See [read](/commands/builtin/read)
89+
See [read](commands/builtin/read.md)
9090

9191
### Changes to the "help" builtin
9292

@@ -110,7 +110,7 @@ Besides the use of the 512 bytes blocksize everywhere in POSIX mode,
110110
The brace expansion was tuned to provide expansion results with leading
111111
zeros when requesting a row of numbers.
112112

113-
See [brace](/syntax/expansion/brace)
113+
See [brace](syntax/expansion/brace.md)
114114

115115
### Parameter Expansion
116116

@@ -120,7 +120,7 @@ On expansion time you can modify the syntax by adding operators to the
120120
parameter name.
121121

122122
See [Case modification on parameter
123-
expansion](/syntax/pe#case_modification)
123+
expansion](syntax/pe.md#case_modification)
124124

125125
### Substring expansion
126126

@@ -143,7 +143,7 @@ current level.
143143
The new shell option `dirspell` enables spelling corrections on
144144
directory names during globbing.
145145

146-
See [globs](/syntax/expansion/globs)
146+
See [globs](syntax/expansion/globs.md)
147147

148148
## Associative Arrays
149149

@@ -161,7 +161,7 @@ ASSOC[Hello]="second element"
161161
ASSOC[Peter Pan]="A weird guy"
162162
```
163163

164-
See [arrays](/syntax/arrays)
164+
See [arrays](syntax/arrays.md)
165165

166166
## Redirection
167167

@@ -172,17 +172,17 @@ good old `>>FILE 2>&1` notation.
172172
The parser now understands `|&` as a synonym for `2>&1 |`, which
173173
redirects the standard error for a command through a pipe.
174174

175-
See [redirection](/syntax/redirection)
175+
See [redirection](syntax/redirection.md)
176176

177177
## Interesting new shell variables
178178

179179
| Variable | Description |
180180
| -------------------------------------------------- | ------------------------------------------------------------------------------- |
181-
| [BASHPID](/syntax/shellvars#BASHPID) | contains the PID of the current shell (this is different than what `$$` does!) |
182-
| [PROMPT_DIRTRIM](/syntax/shellvars#PROMPT_DIRTRIM) | specifies the max. level of unshortened pathname elements in the prompt |
183-
| [FUNCNEST](/syntax/shellvars#FUNCNEST) | control the maximum number of shell function recursions |
181+
| [BASHPID](syntax/shellvars.md#BASHPID) | contains the PID of the current shell (this is different than what `$$` does!) |
182+
| [PROMPT_DIRTRIM](syntax/shellvars.md#PROMPT_DIRTRIM) | specifies the max. level of unshortened pathname elements in the prompt |
183+
| [FUNCNEST](syntax/shellvars.md#FUNCNEST) | control the maximum number of shell function recursions |
184184

185-
See [shellvars](/syntax/shellvars)
185+
See [shellvars](syntax/shellvars.md)
186186

187187
## Interesting new Shell Options
188188

@@ -197,7 +197,7 @@ mentioned.
197197
| `globstar` | enables recursive globbing with `**` |
198198
| `lastpipe` | (4.2) to execute the last command in a pipeline in the current environment |
199199

200-
See [shell_options](/internals/shell_options)
200+
See [shell_options](internals/shell_options.md)
201201

202202
## Misc
203203

@@ -210,7 +210,7 @@ See [shell_options](/internals/shell_options)
210210
- The output target for the `xtrace` (`set -x`/`set +x`) feature is
211211
configurable **since Bash 4.1** (previously, it was fixed to
212212
`stderr`): a variable named
213-
[BASH_XTRACEFD](/syntax/shellvars#BASH_XTRACEFD) can be set to the
213+
[BASH_XTRACEFD](syntax/shellvars.md#BASH_XTRACEFD) can be set to the
214214
filedescriptor that should get the output
215215
- Bash 4.1 is able to log the history to syslog (only to be enabled at
216216
compile time in `config-top.h`)

0 commit comments

Comments
 (0)