Improve what-is.ps1

This commit is contained in:
Markus Fleschutz 2021-05-25 19:42:11 +02:00
parent 48039f761b
commit a43b74e238
4 changed files with 28 additions and 3 deletions

BIN
Data/Abbr/.computer.csv.swp Normal file

Binary file not shown.

View File

@ -1,6 +1,32 @@
Abbreviation,Definition
ACID,"Atomicity, Consistency, Isolation, Durability"
ACL,Access Control List
ADC,Analog-to-Digital Converter
ADF,Automatic Document Feeder
ADSL,Asymmetric Digital Subscriber Line
AFP,Apple Filing Protocol
AGP,Accelerated Graphics Port
AIFF,Audio Interchange File Format
ALU,Arithmetic Logic Unit
ANSI,American National Standards Institute
API,Application Programming Interface
APU,Accelerated Processing Unit
ARP,Address Resolution Protocol
ASCII,American Standard Code for Information Interchange
ASP,Application Service Provider
ATM,Asynchronous Transfer Mode
AVR,Audio/Video Receiver
Bash,Bourne-Again Shell
BASIC,Beginner's All-purpose Symbolic Instruction Code
BCC,Blind Carbon Copy
BIOS,Basic Input/Output System
BLE,Bluetooth Low Energy
Blob,Binary Large Object
BMP,Bitmap
BSOD,Blue Screen of Death
CAD,Computer-Aided Design
CAN,Campus Area Network
CD,Compact Disc
CPU,Central Processing Unit
CSV,Comma Separated Values (file format)
DDL,Data Definition Language

1 Abbreviation Definition
2 ACID Atomicity, Consistency, Isolation, Durability
3 ACL Access Control List
4 ADC Analog-to-Digital Converter
5 ADF Automatic Document Feeder
6 ADSL Asymmetric Digital Subscriber Line
7 AFP Apple Filing Protocol
8 AGP Accelerated Graphics Port
9 AIFF Audio Interchange File Format
10 ALU Arithmetic Logic Unit
11 ANSI American National Standards Institute
12 API Application Programming Interface
13 APU Accelerated Processing Unit
14 ARP Address Resolution Protocol
15 ASCII American Standard Code for Information Interchange
16 ASP Application Service Provider
17 ATM Asynchronous Transfer Mode
18 AVR Audio/Video Receiver
19 Bash Bourne-Again Shell
20 BASIC Beginner's All-purpose Symbolic Instruction Code
21 BCC Blind Carbon Copy
22 BIOS Basic Input/Output System
23 BLE Bluetooth Low Energy
24 Blob Binary Large Object
25 BMP Bitmap
26 BSOD Blue Screen of Death
27 CAD Computer-Aided Design
28 CAN Campus Area Network
29 CD Compact Disc
30 CPU Central Processing Unit
31 CSV Comma Separated Values (file format)
32 DDL Data Definition Language

View File

@ -104,7 +104,6 @@ ACE- Air Combat Emulator (computer game),Allied Command Europe,Armored Combat Ea
ACES- Aerolíneas Centrales de Colombia (Spanish, "Central Colombian Airlines"),Auxiliary Campus Enterprises and Services of Alfred State College
ACF- Administration for Children and Families,American Car and Foundry,American Culinary Federation
ACHT, Average Call Hold Time
ACID, Atomicity, Consistency, Isolation, and Durability (in databases)
ACINT, Acoustic Intelligence
ACK, Acknowledge (telecommunications; cf. NAK)
ACL- Access Control List,Anterior cruciate ligament; the initialism can also refer to an injury to this ligament.,Atlantic Coast Line Railroad
Can't render this file because it contains an unexpected character in line 32 and column 89.

View File

@ -18,8 +18,8 @@ try {
$Table = import-csv "$File"
foreach($Row in $Table) {
if ($Row.Abbreviation -eq $Abbreviation) {
$Filename = (get-item "$File").Name
"$($Row.Abbreviation) = $($Row.Definition) (in $Filename)"
$Basename = (get-item "$File").Basename
"$($Row.Abbreviation) = $($Row.Definition) in $Basename"
$FoundOne = $true
}
}