Skip to content

Commit 8089e7a

Browse files
Fix about_Comments typos
1 parent 91daddb commit 8089e7a

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Comments.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,14 @@ function Get-Function { }
127127

128128
For more information, see:
129129

130-
- [about_Comment_Based_Help][05].
130+
- [about_Comment_Based_Help][05]
131131
- [Writing Comment-Based Help Topics][03]
132132

133133
### `#Requires`
134134

135135
The `#Requires` statement prevents a script from running unless the current
136-
PowerShell sessions meets the specified prerequisites. `#Requires` can appear
137-
on any line in a script, but is processed in the same manner regardless of
136+
PowerShell session meets the specified prerequisites. `#Requires` can appear on
137+
any line in a script, but is processed in the same manner regardless of
138138
position.
139139

140140
```powershell
@@ -171,7 +171,7 @@ sections of code. For PowerShell, the region markers are comments that begin
171171
with `#region` and end with `#endregion`. The region markers must be at the
172172
beginning of a line. The region markers are supported in the PowerShell ISE and
173173
in Visual Studio Code with the PowerShell extension. The region markers aren't
174-
a part of the PowerShell language. PowerShell interprets them as a regular
174+
a part of the PowerShell language. PowerShell interprets them as regular
175175
comments.
176176

177177
For more information, see the _Folding_ section of the

reference/7.4/Microsoft.PowerShell.Core/About/about_Comments.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,14 @@ function Get-Function { }
127127

128128
For more information, see:
129129

130-
- [about_Comment_Based_Help][05].
130+
- [about_Comment_Based_Help][05]
131131
- [Writing Comment-Based Help Topics][03]
132132

133133
### `#Requires`
134134

135135
The `#Requires` statement prevents a script from running unless the current
136-
PowerShell sessions meets the specified prerequisites. `#Requires` can appear
137-
on any line in a script, but is processed in the same manner regardless of
136+
PowerShell session meets the specified prerequisites. `#Requires` can appear on
137+
any line in a script, but is processed in the same manner regardless of
138138
position.
139139

140140
```powershell
@@ -171,7 +171,7 @@ beginning of a script to indicate which shell should be used to run the script.
171171
Shebang isn't a part of the PowerShell language. PowerShell interprets it as a
172172
regular comment. Shebang is interpreted by the operating system.
173173

174-
In the following example, the shebang ensures PowerShell run the script when
174+
In the following example, the shebang ensures PowerShell runs the script when
175175
the script is invoked from a non-PowerShell context.
176176

177177
```powershell
@@ -186,7 +186,7 @@ sections of code. For PowerShell, the region markers are comments that begin
186186
with `#region` and end with `#endregion`. The region markers must be at the
187187
beginning of a line. The region markers are supported in the PowerShell ISE and
188188
in Visual Studio Code with the PowerShell extension. The region markers aren't
189-
a part of the PowerShell language. PowerShell interprets them as a regular
189+
a part of the PowerShell language. PowerShell interprets them as regular
190190
comments.
191191

192192
For more information, see the _Folding_ section of the

reference/7.5/Microsoft.PowerShell.Core/About/about_Comments.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,14 @@ function Get-Function { }
127127

128128
For more information, see:
129129

130-
- [about_Comment_Based_Help][05].
130+
- [about_Comment_Based_Help][05]
131131
- [Writing Comment-Based Help Topics][03]
132132

133133
### `#Requires`
134134

135135
The `#Requires` statement prevents a script from running unless the current
136-
PowerShell sessions meets the specified prerequisites. `#Requires` can appear
137-
on any line in a script, but is processed in the same manner regardless of
136+
PowerShell session meets the specified prerequisites. `#Requires` can appear on
137+
any line in a script, but is processed in the same manner regardless of
138138
position.
139139

140140
```powershell
@@ -171,7 +171,7 @@ beginning of a script to indicate which shell should be used to run the script.
171171
Shebang isn't a part of the PowerShell language. PowerShell interprets it as a
172172
regular comment. Shebang is interpreted by the operating system.
173173

174-
In the following example, the shebang ensures PowerShell run the script when
174+
In the following example, the shebang ensures PowerShell runs the script when
175175
the script is invoked from a non-PowerShell context.
176176

177177
```powershell
@@ -186,7 +186,7 @@ sections of code. For PowerShell, the region markers are comments that begin
186186
with `#region` and end with `#endregion`. The region markers must be at the
187187
beginning of a line. The region markers are supported in the PowerShell ISE and
188188
in Visual Studio Code with the PowerShell extension. The region markers aren't
189-
a part of the PowerShell language. PowerShell interprets them as a regular
189+
a part of the PowerShell language. PowerShell interprets them as regular
190190
comments.
191191

192192
For more information, see the _Folding_ section of the

0 commit comments

Comments
 (0)