Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-11-08 12:35:11 +01:00
parent 53eb60baa3
commit 54635c32da
636 changed files with 5289 additions and 2027 deletions

View File

@ -6,7 +6,7 @@ This PowerShell script counts the number of lines in text files (.txt/.md/.c/.h/
Parameters
----------
```powershell
PS> ./count-lines.ps1 [[-pathToDirTree] <String>] [<CommonParameters>]
/home/markus/Repos/PowerShell/scripts/count-lines.ps1 [[-pathToDirTree] <String>] [<CommonParameters>]
-pathToDirTree <String>
Specifies the path to the directory tree.
@ -26,7 +26,7 @@ Example
-------
```powershell
PS> ./count-lines.ps1 C:\Repos\cmake
Found 639921 lines in 11411 text files within 📂cmake in 34 sec.
Found 639921 lines in 11411 text files within 📂cmake in 34 sec.
```
@ -50,7 +50,7 @@ Script Content
Specifies the path to the directory tree.
.EXAMPLE
PS> ./count-lines.ps1 C:\Repos\cmake
✔️ Found 639921 lines in 11411 text files within 📂cmake in 34 sec.
Found 639921 lines in 11411 text files within 📂cmake in 34 sec.
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -75,7 +75,7 @@ try {
$folderName = (Get-Item "$pathToDirTree").Name
Write-Progress -completed " "
[int]$Elapsed = $stopWatch.Elapsed.TotalSeconds
"✔️ Found $numLines lines in $numFiles text files within 📂$folderName in $Elapsed sec."
" Found $numLines lines in $numFiles text files within 📂$folderName in $Elapsed sec."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
@ -83,4 +83,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of count-lines.ps1 as of 08/15/2024 09:50:47)*
*(generated by convert-ps2md.ps1 using the comment-based help of count-lines.ps1 as of 11/08/2024 12:34:48)*