Update what-is.ps1

This commit is contained in:
Markus Fleschutz 2023-01-02 16:24:29 +01:00
parent f15d74c051
commit 4dc53f4cf7
8 changed files with 2 additions and 2 deletions

View File

Can't render this file because it is too large.

View File

Can't render this file because it is too large.

View File

@ -24,8 +24,8 @@ try {
$Table = Import-CSV "$File"
foreach($Row in $Table) {
if ($Row.Abbr -eq $abbr) {
$Basename = (Get-Item "$File").Basename
"🔎 In $Basename '$($Row.Abbr)' may refer to: $($Row.Term)"
$Basename = (Get-Item "$File").Basename -Replace "_"," "
"🔎 $($Row.Abbr) may refer to $($Row.Term) in $Basename."
$Missing = $false
}
}