summaryrefslogtreecommitdiffstats
path: root/vidix/pci_db2c.awk
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-18 18:54:42 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-18 18:54:42 +0200
commitefcc9ad7120e01a17fc3659cb0229135b1cebb95 (patch)
treeeb15edb75377eedd5d7397209e8c0d594020663e /vidix/pci_db2c.awk
parent1598302be65c77c107330dc46fd0dabface3112d (diff)
parent8fcbe5835d038649e70da410d46c4f5cd502c261 (diff)
downloadmpv-efcc9ad7120e01a17fc3659cb0229135b1cebb95.tar.bz2
mpv-efcc9ad7120e01a17fc3659cb0229135b1cebb95.tar.xz
Merge svn changes up to r30055
Diffstat (limited to 'vidix/pci_db2c.awk')
-rwxr-xr-x[-rw-r--r--]vidix/pci_db2c.awk5
1 files changed, 2 insertions, 3 deletions
diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk
index 1f948a5d76..039bf0f55a 100644..100755
--- a/vidix/pci_db2c.awk
+++ b/vidix/pci_db2c.awk
@@ -1,9 +1,8 @@
+#!/usr/bin/awk -f
# This file converts given pci.db to "C" source and header files
# For latest version of pci ids see: http://pciids.sf.net
# Copyright 2002 Nick Kurshev
#
-# Usage: awk -f pci_db2c.awk pci.db
-#
# Tested with Gawk v 3.0.x and Mawk 1.3.3
# But it should work with standard Awk implementations (hopefully).
# (Nobody tested it with Nawk, but it should work, too).
@@ -28,7 +27,7 @@ BEGIN {
if(ARGC != 3) {
# check for arguments:
- print "Usage awk -f pci_db2c.awk pci.db (and make sure pci.db file exists first)";
+ print "Usage ./pci_db2c.awk pci.db (and make sure pci.db file exists first)";
exit(1);
}
in_file = ARGV[1];