Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create & open html from awk

Status
Not open for further replies.

magicme

Technical User
Jun 11, 2003
22
US
hello
i am rediscovering awk (it goes round and round), as i want to process an input file and output an html format file to be viewed in a web browser.
i have a pretty clear view of most of the steps except one.
as i write / debug the awk script, i'd like to open the html file automatically from the awk script. this will save the step of having the web browser open the file and manually hitting 'reload' every time.

aside from the 'reload' solution i think i could also write a two-line command file.....the first line would invoke the awk script and the next would invoke the web browser (not sure of this).

anyway ..... can i invoke a web browser (by calling the executable file) thru a line in awk.

i think not, but thought i'd ask anyway.

i am running this on gnu/linux (debian).

thanks for your time.

daveleo
 
In your awk man page pay attention to the system function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top