Skip to content

Commit c19efad

Browse files
SteveL-MSFTDCtheGeek
authored andcommitted
fix example text to match PowerShell example (#4052)
* fix example text to match PowerShell example * fix all versions
1 parent 389f778 commit c19efad

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

reference/3.0/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ Where
537537
The `-replace` operator replaces all or part of a value with the specified
538538
value using regular expressions. You can use the `-replace` operator for many
539539
administrative tasks, such as renaming files. For example, the following
540-
command changes the file name extensions of all .gif files to .jpg:
540+
command changes the file name extensions of all .txt files to .log:
541541

542542
```powershell
543543
Get-ChildItem *.txt | Rename-Item -NewName { $_.name -replace '\.txt$','.log' }

reference/4.0/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ Where
537537
The `-replace` operator replaces all or part of a value with the specified
538538
value using regular expressions. You can use the `-replace` operator for many
539539
administrative tasks, such as renaming files. For example, the following
540-
command changes the file name extensions of all .gif files to .jpg:
540+
command changes the file name extensions of all .txt files to .log:
541541

542542
```powershell
543543
Get-ChildItem *.txt | Rename-Item -NewName { $_.name -replace '\.txt$','.log' }

reference/5.0/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ Where
537537
The `-replace` operator replaces all or part of a value with the specified
538538
value using regular expressions. You can use the `-replace` operator for many
539539
administrative tasks, such as renaming files. For example, the following
540-
command changes the file name extensions of all .gif files to .jpg:
540+
command changes the file name extensions of all .txt files to .log:
541541

542542
```powershell
543543
Get-ChildItem *.txt | Rename-Item -NewName { $_.name -replace '\.txt$','.log' }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ Where
537537
The `-replace` operator replaces all or part of a value with the specified
538538
value using regular expressions. You can use the `-replace` operator for many
539539
administrative tasks, such as renaming files. For example, the following
540-
command changes the file name extensions of all .gif files to .jpg:
540+
command changes the file name extensions of all .txt files to .log:
541541

542542
```powershell
543543
Get-ChildItem *.txt | Rename-Item -NewName { $_.name -replace '\.txt$','.log' }

reference/6/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ Where
536536
The `-replace` operator replaces all or part of a value with the specified
537537
value using regular expressions. You can use the `-replace` operator for many
538538
administrative tasks, such as renaming files. For example, the following
539-
command changes the file name extensions of all .gif files to .jpg:
539+
command changes the file name extensions of all .txt files to .log:
540540

541541
```powershell
542542
Get-ChildItem *.txt | Rename-Item -NewName { $_.name -replace '\.txt$','.log' }

0 commit comments

Comments
 (0)