#8724 NORM 8.2.1: Help instructions fail when following external links

Zarro Boogs per Child bugtracker at laptop.org
Thu Oct 9 17:36:55 EDT 2008


#8724: Help instructions fail when following external links
-----------------------------+----------------------------------------------
   Reporter:  mchua          |       Owner:  isforinsects 
       Type:  defect         |      Status:  new          
   Priority:  normal         |   Milestone:  8.2.1        
  Component:  help-activity  |     Version:  not specified
 Resolution:                 |    Keywords:               
Next_action:  never set      |    Verified:  0            
  Blockedby:                 |    Blocking:               
-----------------------------+----------------------------------------------

Comment(by mchua):

 Better script - gets both single and double quoted external URLs, looks in
 the right folder... (oops) - I still don't have commit privs and can't
 push this yet.

 {{{
 #!/bin/bash

     for file in help/*.html; do
     mv $file $file.old
     cat $file.old | sed 's,<a href=.http://.*>\(.*\)</a>,\1,g' > $file
     rm -f $file.old
     done
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/8724#comment:8>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list