Posted by Dylan Sung on 11/26/90 11:53
<alves.carlos@gmail.com> wrote in message
news:1153393245.017121.24490@m79g2000cwm.googlegroups.com...
> Hello,
>
> I have a bash script on linux that generates system information to an
> ordinary text file. Now I want to get this information generated to an
> html file.
> I'll modify the script to create the links, etc, but there are some
> output generated by system commands that will lose formatting when
> opened by the browser.
> How can I have a block of pure text on a html file without loosing the
> formatting?
>
> Thank you very much in advance.
>
> Cheers
>
Surround it with <PRE> tags usually does the trick.
Dyl.
Navigation:
[Reply to this message]
|