Add dash version into documentation (#5796)

This commit is contained in:
Aleksandr Chebotov
2022-06-22 17:23:30 +02:00
committed by GitHub
parent 03d3125c20
commit 220c7ad69b
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,11 @@ function Get-BashVersion {
return "Bash $version"
}
function Get-DashVersion {
$version = dpkg-query -W -f '${Version}' dash
return "Dash $version"
}
function Get-CPPVersions {
$result = Get-CommandResult "apt list --installed" -Multiline
$cppVersions = $result.Output | Where-Object { $_ -match "g\+\+-\d+"} | ForEach-Object {