diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-02-26 10:59:08 +0100 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-02-26 10:59:08 +0100 |
commit | 9da864a8da29082369cdd2dd91a735b03577a117 (patch) | |
tree | 543d881f3746ddd4805dd0da449783eb42a8a92c /mbd/make-mbd-nets.pl | |
parent | 9ecc4690b2546ac117204207bec21ee1f6d585cf (diff) |
Archive old/unused things
Diffstat (limited to 'mbd/make-mbd-nets.pl')
-rwxr-xr-x | mbd/make-mbd-nets.pl | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/mbd/make-mbd-nets.pl b/mbd/make-mbd-nets.pl deleted file mode 100755 index 7f6ec97..0000000 --- a/mbd/make-mbd-nets.pl +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/perl -I /root/tgmanage/ -use strict; -use warnings; - -unless (@ARGV > 0) { - print "No arguments. Need netlist.txt.\n"; - exit 1; -} - -my $n = open(NETLIST, "$ARGV[0]") or die ("Cannot open netlist.txt"); - -print "# Autogenerated. Do not touch!\n"; -print "package Config;\n"; -print "our \@networks = (\n"; - -while(<NETLIST>) { - next if /^(.*#|\s+$)/; # skip if comment, or blank line - - chomp; - my ($v4_net, $v6_net, $net_name) = split; - - print "\t\"$v4_net\",\n"; -} - -print ");\n"; -print "1;\n"; |