how to view html in ksh programm


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how to view html in ksh programm
# 1  
Old 11-28-2007
how to Invoke html in ksh Script

have a script in ksh called file1

#!/bin/ksh

cat my.html

---------------------------
and a html file hy.html

can u tell me that if i execute "file1" script it will open hy.html bt here it is showing the all the tags along with text.........

it should open the browser part only.......

plz help,any command

Last edited by ali560045; 11-28-2007 at 07:32 AM..
# 2  
Old 11-28-2007
Quote:
Originally Posted by ali560045
it should open the browser part only.......
Why would it do that? cat just treats any file as a series of bytes.
# 3  
Old 11-28-2007
so can u tell me that how should i invoke an html file from a ksh script.

can u give me a simple example
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

2. Shell Programming and Scripting

HTML Report from mail in ksh 88

Hi Team, I'm trying to send HTML Report from email using the below script (Using ksh 88 version) #!/bin/ksh set -x SUB="Test Email" Mail_Body="This is for testing" Send_Mail_HTML() { ( echo "FROM: abcd@test.com" echo "To: abcd@test.com" echo "Subject:... (2 Replies)
Discussion started by: smile689
2 Replies

3. Shell Programming and Scripting

ksh view std err state

I would like to know if a command works. "command" 2>/dev/null When I issue the command, the error is suppressed. How can I tell whether there was an error? (3 Replies)
Discussion started by: robin_simple
3 Replies

4. Shell Programming and Scripting

View an html page inside zenity

Hi! :) Inside a bash script, I have an html page: "example.html" I need: - read "example.html. - print and view the result for example with dillo (or another light browser) inside zenity with clickable images and links. Some stuff like: zenity --html-info --filename=example.html Is... (0 Replies)
Discussion started by: aspire
0 Replies

5. Solaris

view HTML file through browser

Howdy experts, I have a HTML file in /var/tmp/file.html How can i view it through the webbrowser (mozilla or IE explorer) Thanks, purple (3 Replies)
Discussion started by: thepurple
3 Replies

6. Shell Programming and Scripting

how to Invoke html in ksh Script

how to invoke html file from a ksh shell plz help......... (4 Replies)
Discussion started by: ali560045
4 Replies

7. Shell Programming and Scripting

How to embeded programm within programm

Hi, How to embeded programme within perl programme. Shankarao (2 Replies)
Discussion started by: shankarao
2 Replies

8. Shell Programming and Scripting

Passing FORM(HTML) variable to ksh

I am currently able to use the $QUERY_STRING variable and simply cut out what I need to be assigned as variables within the shell script. However, I've been able to use the "name" value assigned within the FORM(HTML) as a variable when I use perl. Why is it that ksh doesn't read the "name" in as... (1 Reply)
Discussion started by: douknownam
1 Replies

9. Shell Programming and Scripting

ksh splitting string - html forms

I a new to using ksh for cgi.. I want to be able to split the query_string... ie... id=893283923name=bob How do I specifically extract the value of id in to a variable and the name etc? (5 Replies)
Discussion started by: frustrated1
5 Replies

10. Shell Programming and Scripting

HTML display timing problem under ksh script

Using a HTML page , i'm running a Unix ksh script with <a href=..>. The script contains loop like this : for i in do rsh..... done each rsh command is running quite long and then i would display results in HTML format but about 5mn my blank page waiting for result is running in error... (1 Reply)
Discussion started by: Nicol
1 Replies
Login or Register to Ask a Question