Results 1 to 2 of 2

Thread: How to produce bash results in a neat HTML format?

  1. #1
    Join Date
    Aug 2009
    Location
    India
    Beans
    2,110
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Question How to produce bash results in a neat HTML format?

    I have written a bash script, which would produce the bash results as the following..

    Bash Results:

    Title1 - Title2 -
    Title3 - Title4 - Title5 - Title6 - Title7 - Title8
    result1 - result2 - result3 - result4 - result5 - result6 - result7 - result8
    result1 - result2 - result3 - result4 - result5 - result6 - result7 - result8

    I would like to produce the above output in neat HTML format with Serial No (ie 1,2 & so on) as prefix. How can i do that? Hope some bash gurus are here round the clock, and they can help me.

    Thanks in advance



  2. #2
    Join Date
    May 2006
    Location
    Portugal
    Beans
    189
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: How to produce bash results in a neat HTML format?

    You might have a look at txt2html:
    Code:
    apt-get install txt2html
    Sorry I have no experience with it so that's about as much help as I can provide.
    jdackle ~ Linux Counter user # 274021 ~ Ubuntu Counter User # 17154

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •