[MPlayer-cvslog] r30047 - trunk/vidix/pci_db2c.awk

diego subversion at mplayerhq.hu
Thu Dec 17 00:44:26 CET 2009


Author: diego
Date: Thu Dec 17 00:44:26 2009
New Revision: 30047

Log:
Make vidix/pci_db2c.awk executable.

Modified:
   trunk/vidix/pci_db2c.awk   (contents, props changed)

Modified: trunk/vidix/pci_db2c.awk
==============================================================================
--- trunk/vidix/pci_db2c.awk	Wed Dec 16 23:36:17 2009	(r30046)
+++ trunk/vidix/pci_db2c.awk	Thu Dec 17 00:44:26 2009	(r30047)
@@ -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];


More information about the MPlayer-cvslog mailing list