Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Extract table from an HTML file Post 302897149 by koutroul on Friday 11th of April 2014 10:02:10 AM
Old 04-11-2014
but also other tables are included in the line.. so I need the one with
class="tableinfo"
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I extract text only from html file without HTML tag

I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part. Same problem happens in "type" command in MS-DOS. I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies

2. Shell Programming and Scripting

Format txt file as html table

I have a short time to solve a problem, so I need some help. I've searched the forum, but I couldn't find a solution to my problem. I made a script to filter some text and now I have a new requirement to make it available as html table. Problem is that I more than one files with different set... (2 Replies)
Discussion started by: tetreb
2 Replies

3. Shell Programming and Scripting

Is it possible to convert text file to html table using perl

Hi, I have a text file say file1 having data like ABC c:/hm/new1 Dir DEF d:/ner/d sd ...... So i want to make a table from this text file, is it possible to do it using perl. Thanks in advance Sarbjit (1 Reply)
Discussion started by: sarbjit
1 Replies

4. Shell Programming and Scripting

Convert shell script output txt file to html table

Hi, I have script which generates the output as below: Jobname Date Time Status abc 12/9/11 17:00 Completed xyz 13/9/11 21:00 Running I have the output as a text file. I need to convert it into a HTML Table and sent it thru email ... (6 Replies)
Discussion started by: a12ka4
6 Replies

5. Shell Programming and Scripting

extract complex data from html table rows

I have bash, awk, and sed available on my portable device. I need to extract 10 fields from each table row from a web page that looks like this: </tr> <tr> <td>28 Apr</td> <td><a... (6 Replies)
Discussion started by: rickgtx
6 Replies

6. Shell Programming and Scripting

Creating html table from data in file

Hi. I need to create html table from file which contains data. No awk please :) In example, ->cat file num1 num2 num3 23 3 5 2 3 4 (between numbers and words single TAB). after running mycode i need to get (heading is the first line): <table>... (2 Replies)
Discussion started by: Manu1234567
2 Replies

7. Shell Programming and Scripting

Input data of a file from perl into HTML table

Hi , I need an help in perl scripting. I have an perl script written and i have an for loop in that ,where as it writes some data to a file and it has details like below. cat out.txt This is the first line this is the second line. .....Now, this file needs to be send in mail in HTML... (2 Replies)
Discussion started by: scott_cog
2 Replies

8. UNIX for Dummies Questions & Answers

Convert Txt file to HTML table and email

Hi all I need help converting a text file into a html table in bash and I need to email this table. The text file looks like the below. Two columns with multiple rows. Top row being header. Application Name Application Status Application 1 Open Application 2 ... (2 Replies)
Discussion started by: hitmanjd
2 Replies

9. Linux

Parsing - export html table data as .csv file?

Hi all, Is there any out there have a brilliant idea on how to export html table data as .csv or write to txt file with separated comma and also get the filename of link from every table and put one line per rows each table. Please see the attached html and PNG of what it looks like. ... (7 Replies)
Discussion started by: lxdorney
7 Replies

10. Shell Programming and Scripting

Convert shell script output txt file to html table

My concnern related to the post -Convert shell script output txt file to html table, in this how to print the heading as color. awk 'BEGIN{print "<table>"} {print "<tr>";for(i=1;i<=NF;i++)print "<td>" $i"</td>";print "</tr>"} END{print "</table>"}' <filename> (8 Replies)
Discussion started by: sarajobmai
8 Replies
XtCallActionProc()														XtCallActionProc()

Name
  XtCallActionProc - explicitly invoke a named action procedure.

Synopsis
  void XtCallActionProc(widget, action, event, params, num_params)
	   Widget widget;
	   String action;
	   XEvent *event;
	   String *params;
	   Cardinal num_params;

Inputs
  widget    Specifies the widget in which the action is to be invoked; must be of class Core or any subclass thereof.

  action    Specifies the name of the action routine.

  event     Specifies the event to pass to the action procedure.

  params    Specifies parameters to pass to the action procedure.

  num_params
	    Specifies the number of elements in the params array.

Description
  XtCallActionProc()  looks  up the action procedure named action and invokes it, passing widget, event, params, and num_params as arguments.
  Before calling the named action, XtCallActionProc() invokes any action hook procedures that have been registered with XtAppAddActionHook().

  It is the responsibility of the caller to ensure that the contents of the event, params, and num_params arguments are appropriate  for  the
  specified  action routine and, if necessary, that the specified widget is realized and/or sensitive.	If the named action routine cannot be
  found, XtCallActionProc() generates a warning message and returns.

  When searching for the action procedure, XtCallActionProc() looks in the following places:

  o  The widget's class and all superclass action tables, in subclass-to-superclass order.

  o  The parent's class and all superclass action tables, in subclass-to-superclass order, then on up the ancestor tree.

  o  The action tables registered with XtAppAddActions() and XtAddActions() from the most recently added table to the oldest table.

See Also
  XtAppAddActionHook(1), XtRemoveActionHook(1),
  XtActionHookProc(2).

Xt - Translations and Actions													XtCallActionProc()
All times are GMT -4. The time now is 05:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy