summaryrefslogtreecommitdiffstats
path: root/Cards2CardsNames.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-18 11:39:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-18 11:39:39 +0000
commit6b5d37090668c9337c3e95135e3ff80441349313 (patch)
treece00c2004bfe63d2097b5c3d9d669ef6e08d7d2a /Cards2CardsNames.pl
parent19b476ece8d845d40ba47eb80af653f6a2c239a9 (diff)
downloadldetect-lst-6b5d37090668c9337c3e95135e3ff80441349313.tar
ldetect-lst-6b5d37090668c9337c3e95135e3ff80441349313.tar.gz
ldetect-lst-6b5d37090668c9337c3e95135e3ff80441349313.tar.bz2
ldetect-lst-6b5d37090668c9337c3e95135e3ff80441349313.tar.xz
ldetect-lst-6b5d37090668c9337c3e95135e3ff80441349313.zip
moved in dir lst
Diffstat (limited to 'Cards2CardsNames.pl')
-rwxr-xr-xCards2CardsNames.pl73
1 files changed, 0 insertions, 73 deletions
diff --git a/Cards2CardsNames.pl b/Cards2CardsNames.pl
deleted file mode 100755
index 9196c4ce..00000000
--- a/Cards2CardsNames.pl
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/usr/bin/perl
-
-$vendors = join '|', map { chomp; quotemeta } <DATA>;
-
-%substs = (
-"3Dlabs" => "3DLabs",
-"COMPAQ" => "Compaq",
-"Creative Blaster Exxtreme" => "Creative Labs Blaster Exxtreme",
-"ELSA" => "Elsa",
-"ATrend" => "Atrend",
-"Ocean (octek)" => "Octek",
-"HOT" => "Spacewalker Hot",
-);
-
-print "# This file is auto-generated from Cards+, DO NOT MODIFY\n";
-print "#\n";
-
-foreach (<>) {
- my ($n) = /^NAME (.*)/ or next;
- $_ = $n;
- while (my ($k, $v) = each %substs) { s/^\Q$k/$v/; }
-
- if (my ($v, $more) = /^($vendors)\s*-?(.*)/) {
- $_ = "$v|$more";
- } else {
- $_ = "Other|$_";
- }
- print qq{$_=>$n\n};
-}
-
-__DATA__
-3DLabs
-Compaq
-Dell
-Elsa
-Rendition Verite
-Intel
-Oak
-Ark Logic
-Cardex
-Digital
-RIVA
-Spider
-Canopus
-Leadtek
-NVIDIA
-Octek
-ASUS
-Actix
-Avance Logic
-ET
-Genoa
-SMI
-SPEA
-VideoLogic
-Creative Labs
-Toshiba
-Orchid
-Chaintech
-Cirrus Logic
-AOpen
-SiS
-Chips & Technologies
-Number Nine
-Miro
-STB
-Matrox
-Hercules
-Trident
-Sun
-Diamond
-S3
-ATI