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 Leonard Blaisdell on 11/09/65 11:53

In article <1153393245.017121.24490@m79g2000cwm.googlegroups.com>,
alves.carlos@gmail.com wrote:

> 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?

Look at the PRE element
<http://www.w3.org/TR/html4/struct/text.html#edef-PRE> unless I
misunderstand.

leo

--
<http://web0.greatbasin.net/~leo/>

 

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

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