- Timestamp:
- May 26, 2010, 5:23:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/genesis-to-py.pl
r6564 r8048 9 9 # Which gonna be used for more logic stuff ;-) 10 10 11 # Avoid junk node imports, use following line to import valid nodes 12 # Usage: for file in CNode*/wleiden.conf proxy*/wleiden.conf; do ./genesis-to-py.pl $file; done > py.conf 11 $argc = $#ARGV + 1; 12 if ($argc == 0) { 13 print "Usage $_ <wleiden.conf> ...\n"; 14 exit 1; 15 # Hack to easy support multiple files without remembering any variable in between 16 } elsif ($argc > 1) { 17 foreach $file (@ARGV) { 18 print `perl $ENV{_} $file`; 19 } 20 exit 0; 21 } 22 23 13 24 do($ARGV[0]) || die; 14 25
Note:
See TracChangeset
for help on using the changeset viewer.