02-08-2007
Flat File to HTML
Is there a Unix product or command that can convert a flat file to an hTML document?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I need help to convert flat file data to HTML Table format.
I am generating everyday Flat file and want to convert into HTML Table format.
The format of my file is:
version host Total YRS NO APPS PSD
10 Sun 30 2 4 6 7
and flat... (11 Replies)
Discussion started by: getdpg
11 Replies
2. Shell Programming and Scripting
Hi All,
I get a flat file everyday with some records being invalid.Some records come with less number '|'.I just want to add the missing '|'s ,So the it doesnt give an error insufficient fields while loading...There area total of 32 pipes in each record.
Input:
ASADASD |Y|B|SDFGDSDFD| ... (3 Replies)
Discussion started by: kumarsaravana_s
3 Replies
3. Shell Programming and Scripting
Hi All,
I need a help with a shelll script program.I get a '|' separated file which sometime has a encrypted column.And this encryption sometime breaks the last column data into a new line and this is not picked by the ETL.So when i run a script,it should append back the broken new line data... (11 Replies)
Discussion started by: kumarsaravana_s
11 Replies
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
Hi
I have a flat file looking this
QWER 2:35 7044 00001 ROUT 1188 EA SS
ASD 2:36 7044 00010 ROUT
BSD 2:37 7044 00011 ROUT
END
QWER 3:35 7044 00011 ROUT 1088 EA SS
ASD 3:36 7044 00010 ROUT
BSD 3:37 7044 00011 ROUT... (9 Replies)
Discussion started by: Krishnaramjis
9 Replies
6. Shell Programming and Scripting
Hi
I have a file like below . IF the record starts with ASD then change the 20th offset to "K" follwed by that 20th offset value & if the record starts with ASDR then change the 38th offset to "K" followed by 38th offset value . But here the condition is the next value ... (0 Replies)
Discussion started by: Krishnaramjis
0 Replies
7. Programming
Before i start doing something, I wanted to know whether the approach to compare XML file with UNIX file system structure. I have a pre-configured file(contains a list of paths to executables) and i need to check against the UNIX directory structure. what are the various approches should i use ? I... (6 Replies)
Discussion started by: shafi2all
6 Replies
8. Shell Programming and Scripting
Need to develop a unix shell script for the below requirement and I need your assistance:
1) search for file.log and file.bad file in a directory and read them
2) pull out "Load_Start_Time", "Data_File_Name", "Error_Type" from log file
4) concatinate each row from bad file as... (3 Replies)
Discussion started by: mlpathir
3 Replies
9. Shell Programming and Scripting
I tried to find elegant (or at least simple) way to remove all but couple of html tags from html file, but all examples I found dealt with removing all the tags.
The logic of the script would be:
- if there is <li> or <ul> on the line, do nothing (=write same line to output)
- if there is:... (0 Replies)
Discussion started by: juubuntu
0 Replies
10. Shell Programming and Scripting
hi
i have written a script for reading a csv file and creating a flat file, suggest if this script can be optimized
#----------------
FILENAME="$1"
SCRIPT=$(basename $0)
#-----------------------------------------//
function usage
{
echo "\nUSAGE: $THIS_SCRIPT file_to_process\n"... (3 Replies)
Discussion started by: mprakasheee
3 Replies
LEARN ABOUT CENTOS
glshademodel
GLSHADEMODEL(3G) OpenGL Manual GLSHADEMODEL(3G)
NAME
glShadeModel - select flat or smooth shading
C SPECIFICATION
void glShadeModel(GLenum mode);
PARAMETERS
mode
Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH.
DESCRIPTION
GL primitives can have either flat or smooth shading. Smooth shading, the default, causes the computed colors of vertices to be
interpolated as the primitive is rasterized, typically assigning different colors to each resulting pixel fragment. Flat shading selects
the computed color of just one vertex and assigns it to all the pixel fragments generated by rasterizing a single primitive. In either
case, the computed color of a vertex is the result of lighting if lighting is enabled, or it is the current color at the time the vertex
was specified if lighting is disabled.
Flat and smooth shading are indistinguishable for points. Starting when glBegin() is issued and counting vertices and primitives from 1,
the GL gives each flat-shaded line segment i the computed color of vertex i + 1, its second vertex. Counting similarly from 1, the GL gives
each flat-shaded polygon the computed color of the vertex listed in the following table. This is the last vertex to specify the polygon in
all cases except single polygons, where the first vertex specifies the flat-shaded color.
+--------------------------------------------------+-----------------------------------+
| | |
| Primitive Type of Polygon | Vertex |
| i | |
| | |
+--------------------------------------------------+-----------------------------------+
|Single polygon | 1 |
| ( | |
| | |
| | |
| i | |
| == | |
| 1 | |
| | |
| ) | |
+--------------------------------------------------+-----------------------------------+
|Triangle strip | i |
| | + |
| | 2 |
+--------------------------------------------------+-----------------------------------+
|Triangle fan | i |
| | + |
| | 2 |
+--------------------------------------------------+-----------------------------------+
|Independent triangle | 3 |
| | |
| | i |
+--------------------------------------------------+-----------------------------------+
|Quad strip | 2 |
| | |
| | i |
| | + |
| | 2 |
+--------------------------------------------------+-----------------------------------+
|Independent quad | 4 |
| | |
| | i |
+--------------------------------------------------+-----------------------------------+
Flat and smooth shading are specified by glShadeModel with mode set to GL_FLAT and GL_SMOOTH, respectively.
ERRORS
GL_INVALID_ENUM is generated if mode is any value other than GL_FLAT or GL_SMOOTH.
GL_INVALID_OPERATION is generated if glShadeModel is executed between the execution of glBegin() and the corresponding execution of
glEnd().
ASSOCIATED GETS
glGet() with argument GL_SHADE_MODEL
SEE ALSO
glBegin(), glColor(), glLight(), glLightModel()
COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLSHADEMODEL(3G)