Update the CSV files

This commit is contained in:
Markus Fleschutz
2023-02-17 14:44:58 +01:00
parent 2ee093a8dd
commit 1ed84751d1
22 changed files with 33 additions and 33 deletions

View File

@ -23,9 +23,9 @@ try {
foreach ($File in $Files) {
$Table = Import-CSV "$File"
foreach($Row in $Table) {
if ($Row.Abbr -eq $abbr) {
if ($Row.ABBR -eq $abbr) {
$Basename = (Get-Item "$File").Basename -Replace "_"," "
"💡 In $Basename $($Row.Abbr) may refer to $($Row.Term)."
"💡 In $Basename $($Row.ABBR) may refer to $($Row.TERM)."
$Missing = $false
}
}
@ -35,4 +35,4 @@ try {
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}
}