changeset 30005:835d6e5e5de0

Make vidix/pci_db2c.awk executable.
author diego
date Wed, 16 Dec 2009 23:44:26 +0000
parents dabd6ed79efe
children 73d653fd865f
files vidix/pci_db2c.awk
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/pci_db2c.awk	Wed Dec 16 22:36:17 2009 +0000
+++ b/vidix/pci_db2c.awk	Wed Dec 16 23:44:26 2009 +0000
@@ -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 @@
 
     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];