r5814 - trunk/gta02-core/bom/fic
werner at docs.openmoko.org
werner at docs.openmoko.org
Tue Feb 2 17:58:35 CET 2010
Author: werner
Date: 2010-02-02 17:58:35 +0100 (Tue, 02 Feb 2010)
New Revision: 5814
Added:
trunk/gta02-core/bom/fic/fic2dsc
Log:
- bom/fic/fic2dsc: extract the textual description keyed by the reference
number
Added: trunk/gta02-core/bom/fic/fic2dsc
===================================================================
--- trunk/gta02-core/bom/fic/fic2dsc (rev 0)
+++ trunk/gta02-core/bom/fic/fic2dsc 2010-02-02 16:58:35 UTC (rev 5814)
@@ -0,0 +1,8 @@
+#!/usr/bin/perl
+
+print "#DSC\n";
+while (<>) {
+ chop;
+ next unless /^\d*,"(\S+)\s*","([^"]*?)\s*"/;
+ print "FIC $1 $2\n";
+}
Property changes on: trunk/gta02-core/bom/fic/fic2dsc
___________________________________________________________________
Name: svn:executable
+ *
More information about the commitlog
mailing list