You are here: Re: Text format output to an html file « HTML « IT news, forums, messages
Re: Text format output to an html file

Posted by Dylan Sung on 09/25/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация