🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.documentation
Article #47

Re: JBuilder 2005 Java 5.0 Documentation

#47
From: John McGrath [TeamB]
Date: Thu, 27 Jan 2005 05:36
26 lines
1768 bytes
I wrote a script to fix the 1.5 JavaDocs, and JBuilder now displays them
without any problems.

In case you are interested, here is the script.  This was run on a Windows
system using the CygWin toolkit.  I think it should run with any Bourne
compatible shell, such as bash.

   # Change occurrences of the string '<?>' to '&lt;?&gt;' in HTML files

   TmpFile="$TEMP/JavaDocFix$$"

   find . -name '*.htm*' | xargs grep -l '<?>' \
      | while read file ; do
         echo "$file"
         sed 's/<?>/\&lt;?\&gt;/g' < "$file" > "$TmpFile" \
            && mv "$TmpFile" $file
   done

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <xn0dxqljb1h8huk002@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <419794c0$1@newsgroups.borland.com> <xn0dpr9odwhssr000@newsgroups.borland.com> <41f81d3d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10b82f,a4135be99f7d3fa0
X-Google-Attributes: gid10b82f,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: JBuilder 2005 Java 5.0 Documentation
Newsgroups: borland.public.jbuilder.documentation
References: <419794c0$1@newsgroups.borland.com> <xn0dpr9odwhssr000@newsgroups.borland.com> <41f81d3d$1@newsgroups.borland.com>
User-Agent: XanaNews/1.17.1.2
Message-ID: <xn0dxqljb1h8huk002@newsgroups.borland.com>
X-Ref: newsgroups.borland.com ~XNS:0000016F
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 141.151.11.96
Date: 26 Jan 2005 21:36:14 -0800
X-Trace: newsgroups.borland.com 1106804174 141.151.11.96 (26 Jan 2005 21:36:14 -0800)
Lines: 26
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail