X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <56476D19.4080000@xs4all.nl> Date: Sat, 14 Nov 2015 18:19:21 +0100 From: "Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] pcb-rnd: pcb-menures diff References: <5646E07C DOT 8090704 AT xs4all DOT nl> <564718F6 DOT 9030501 AT xs4all DOT nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com gedau AT igor2 DOT repo DOT hu wrote: > > > On Sat, 14 Nov 2015, Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via > geda-user AT delorie DOT com] wrote: > >> gedau AT igor2 DOT repo DOT hu wrote: >>> Hello Bert, >>> >>> On Sat, 14 Nov 2015, Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via >>> geda-user AT delorie DOT com] wrote: >>> >>>> Hi Igor2, >>>> >>>> Trying to implement your keylist script into vanilla pcb I found a >>>> typo and created the attached diff for your pcb-menu.res. >>> >>> Thank you, I've applied your patch. >>> >>>> Further more crating keylist.html by hand from the util dir I get >>>> misaligned content and an extra column. >>>> >>>> The script seems to go wrong with special chars outside the >>>> [a-z,A-Z] range, like the "down" key (first occurrence where things >>>> misalign and an extra table field is created). >>> >>> Thanks, I've managed to fix it in r972. The problem was not any >>> special character but only whitepsace, as I use whitespace as field >>> separator while passing data from one script to another. >>> >>> Please let me know if the new version of the script still fails. >>> >>> Regards, >>> >>> Igor2 >>> >>> >> Hi Igor2, >> >> No, still the same results (identical files). >> >> I invoke with: >> >> ./keylist.sh ../src/gpcb-menu.res ../src/pcb-menu.res > keylist.html >> >> I assumed that is the correct way. > > Yup, that's the correct command line. > > Could you please show me the line of your .res file that causes the > problem? I would try to run it through the script here. > > Regards, > > Igor2 > > Hi Igor2, It may be that the amount of "{" and "}" on a line in the *.res have to match. Kind regards, Bert Timmerman.