Am Mittwoch, 27. Juli 2011, 22:49:24 schrieb Erich Titl:
> Hi KP
> 
> on 27.07.2011 18:36, KP Kirchdoerfer wrote:
> > Am Mittwoch, 27. Juli 2011, 09:05:52 schrieb Erich Titl:
> >> Hi KP
> >> 
> >> at 26.07.2011 20:45, KP Kirchdoerfer wrote:
> >>> Hi Erich;
> >>> 
> >>> Am Montag, 25. Juli 2011, 16:13:08 schrieb Erich Titl:
> >>>> KP
> >> 
> >> ...
> >> 
> >>>> The easiest way to get quick results is to report single findings
> >>>> here. I have not been able to find a ticket for it.
> >>> 
> >>> See tickets #58 and #60.
> >>> 
> >>> You asked for it :)
> >> 
> >> OK, I don't have a way to test my modifications right now :-(
> >> 
> >> I modified all packages in /var/webconf/www automagically using the
> >> following sed rules
> >> 
> >> s/<?/<%/g
> >> s/?>/%>/g
> >> s/%if/% if/g
> >> s/%fi/% fi/g
> >> s/fi%/fi %/g
> >> 
> >> If you can test this method yoiu can do so without even applying a new
> >> lwp file.
> >> 
> >> Just go to /var/webconf/www and do
> >> 
> >> for i in *.cgi
> >> do
> >> echo $i
> >> cp $i foo
> >> sed -f sedrules foo > $i
> >> done
> >> rm foo
> >> 
> >> Of course you have to build the sedrules file first...
> >> 
> >> If everything turns out right, I will commit and push, then we can
> >> explode the tarball.
> > 
> > Hi Erich;
> > 
> > does not work - new haserl does not like the expression <% el %>.
> 
> Good, that is what I was looking for, the current haserl documentation
> does not show this subtle code difference anymore and I could not find
> the reference to the old docs anymore.
> 
> Please extend the sedrules
> 
> s/<?/<%/g
> s/?>/%>/g
> s/%if/% if/g
> s/if%/if %/g
> s/%fi/% fi/g
> s/fi%/fi %/g
> s/%el/% el/g
> s/el%/el %/g
> s/% el %/% else %/g
> 
> and reapply. this should take care of the el/else issue
> 
> cheers
> 
> Erich

Done, but then I get
/bin/sh: syntax error: unexpected "fi" (expecting "then") 

kp
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to