projects
/
hw
/
telemetrum
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5e63d78
)
fix for regexp problem when pcb is named
author
Bdale Garbee
<bdale@gag.com>
Wed, 24 Dec 2008 01:30:48 +0000
(18:30 -0700)
committer
Bdale Garbee
<bdale@gag.com>
Wed, 24 Dec 2008 01:30:48 +0000
(18:30 -0700)
pcb2panel
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/pcb2panel
b/pcb2panel
old mode 100644
(file)
new mode 100755
(executable)
index
e517c01
..
63206dc
--- a/
pcb2panel
+++ b/
pcb2panel
@@
-5,7
+5,7
@@
# Released under the terms of the GNU General Public License, version 2
if (! @ARGV) {
# Released under the terms of the GNU General Public License, version 2
if (! @ARGV) {
- print "Usage: pcb2panel board1.pcb board2.pcb board3.pcb > boards.pcb";
+ print "Usage: pcb2panel board1.pcb board2.pcb board3.pcb > boards.pcb
\n
";
print "Then edit boards.pcb, putting each outline where you want it\n";
print "and sizing the board. Then:\n";
print "panel2pcb boards.pcb\n";
print "Then edit boards.pcb, putting each outline where you want it\n";
print "and sizing the board. Then:\n";
print "panel2pcb boards.pcb\n";
@@
-21,7
+21,7
@@
for $pcb (@ARGV) {
push (@pcbs, $pcb);
open(PCB, $pcb);
while (<PCB>) {
push (@pcbs, $pcb);
open(PCB, $pcb);
while (<PCB>) {
- if (/^PCB\["" (\d+) (\d+)\]/) {
+ if (/^PCB\["
.*
" (\d+) (\d+)\]/) {
$width{$pcb} = $1;
$height{$pcb} = $2;
break;
$width{$pcb} = $1;
$height{$pcb} = $2;
break;