05-28-2013
Well, make it simpler and simpler, to see where it falls off the rails. First get a table to behave, and then work on the color and font.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Here is my problem.. i have 2 files (file1, file2).. i have wrote the last two lines and first 4 lines of "file2" into two different variables .. say..
my $firstrec = `head -4 $file2`;
my $lastrec = `tail -2 $file2`;
and i write the rest of the file2 to a tmpfile and cat it with head... (2 Replies)
Discussion started by: meghana
2 Replies
2. Shell Programming and Scripting
Hi,
I have written a perl script to dispaly some statements from a file but i want the output statements to be dispalyed in an HTML format.Is it possible for me to do in perl scripting?
Please help me with ur thoughts.
Thanks In Advance
Meva. (1 Reply)
Discussion started by: meva
1 Replies
3. Shell Programming and Scripting
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
Hi,
I'm having an issue with echo again. I keep getting errors and no file content with these commands in a script.
---------------------------------------------------
#!/bin/bash
WEBSITE=http://www.google.com
touch test1.txt
echo "replace("<body>","<body><iframe... (2 Replies)
Discussion started by: digitalviking
2 Replies
5. Shell Programming and Scripting
Hi Folks,
It is regarding the perl scripting.
I have an html file(many files) which contains the below line in the body tag.
<body>
<P><STRONG><FONT face="comic sans ms,cursive,sans-serif"><EM>Hello</EM></FONT></STRONG></P>
</body>
Now I want to read that html file through perl... (3 Replies)
Discussion started by: giridhar276
3 Replies
6. Shell Programming and Scripting
Hello!
I wish to create a script that will automate the creation of HTML files...
for example, if my HTML starts out containing:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>$TITLE</title>
</head>
I want to put that into something that I can read and write later on. My... (4 Replies)
Discussion started by: tntelle
4 Replies
7. Shell Programming and Scripting
I have a function which does awk proceessing
sub mergeDescription {
system (q@awk -F'~' '
NR == FNR {
A = $1
B = $2
C = $0
next
}
{
n = split ( C, V, "~" )
if... (3 Replies)
Discussion started by: crypto87
3 Replies
8. Shell Programming and Scripting
Hello
I want to replace the path to which a hyperlink points to. I have a html file
<TABLE BORDER CELLPADDING=7, border=0><TR><td>Jun-10-2013_03_19_07_AM</td><td>Ank_Insert_1</td><td><b>FAILED: 1</b></td><td><A
... (14 Replies)
Discussion started by: ankurk
14 Replies
9. Shell Programming and Scripting
I have a file like this,
1,a,saurav
2,b,rout
I want to show this file in a perl cgi page table and want to add a column which will contain a text box. There I will give some manual input, which will be written to the existing file(or a new file) in below format.
1|a|saurav|bangalore... (2 Replies)
Discussion started by: sauravrout
2 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT LINUX
textout_ex
textout_ex(3alleg4) Allegro manual textout_ex(3alleg4)
NAME
textout_ex - Writes a string on a bitmap. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void textout_ex(BITMAP *bmp, const FONT *f, const char *s, int x, int y, int color, int bg);
DESCRIPTION
Writes the string `s' onto the bitmap at position x, y, using the specified font, foreground color and background color. If the background
color is -1, then the text is written transparently. If the foreground color is -1 and a color font is in use, it will be drawn using the
colors from the original font bitmap (the one you imported into the grabber program), which allows multicolored text output. For high and
true color fonts, the foreground color is ignored and always treated as -1. Example:
/* Show the program's version in blue letters. */
textout_ex(screen, font, "v4.2.0-beta2", 10, 10,
makecol(0, 0, 255), -1);
SEE ALSO
font(3alleg4), textout_centre_ex(3alleg4), textout_right_ex(3alleg4), textout_justify_ex(3alleg4), textprintf_ex(3alleg4),
text_height(3alleg4), text_length(3alleg4)
Allegro version 4.4.2 textout_ex(3alleg4)