summaryrefslogtreecommitdiffstats
path: root/vidix/pci_db2c.awk
diff options
context:
space:
mode:
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];