12-22-2003
What will you be viewing the file with? Are you looking for bold in html?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm trying to find pattern in log file. I'm using awk to search the pattern and print the paragraph. And it's not working well like I want.
The file actually is TCAP message, it has format like this :
...
...
...
*****************************************
INCOMING TCAP MESSAGE
At... (6 Replies)
Discussion started by: kunimi
6 Replies
2. Linux
Hi ,
Unix.com has been life saver for me I admit :)
I am trying to extract a paragraph based on matching pattern "CREATE TABLE " from a ddl file . The paragraphs are seperated by blank line .
Input file is
#cat zip.20080604.sql1
CONNECT TO TST103
SET SESSION_USER OPSDM002
... (2 Replies)
Discussion started by: capri_drm
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Consider the following paragraph.
This is line1.
This is line2,
This is last line.
I need the output as
4:This is last line.
i.e The line after the blank line should be displayed along with line number.
I am a unix begineer.Any one please help me to solve this problem (3 Replies)
Discussion started by: Sekar1
3 Replies
4. Shell Programming and Scripting
Hi,
I have read similar questions and I was not able to get a solution, so please help :)
I have two files:
1-Pattern file contains list of patterns
pattern1
pattern2
pattern3
pattern4
....
pattern#
2-input file in the format
>hdhfshsdfjhpattern1xmbxmbxnmv... (4 Replies)
Discussion started by: tbakheet
4 Replies
5. UNIX for Dummies Questions & Answers
Hi, I'm trying to output all text from the first paragraph in a file that contains a specific string through the last paragraph in that file that contains that string.
Previously, I was outputting just each paragraph with that search string with:
cat in_file | nawk '{RS=""; FS="\n";... (2 Replies)
Discussion started by: carpenn
2 Replies
6. Shell Programming and Scripting
Hello,
I hava a file resulting from a script which ends as follows:
172|18|FOOTER|DISCLOSURE||16¶
173|0|FOOTER|FILE||18¶
note the paragraph signs are only placed to demonstrate the problem
I want it to return the same last lines but without the last empty paragraph i.e:
... (3 Replies)
Discussion started by: TasosARISFC
3 Replies
7. Shell Programming and Scripting
Hi, I have A file like this:
>Contig1
AAAAAAATTTTTTCCCAATATATGAT
ATATATAEATATATAT
>Contig2
AAAAAAATTTTTTCCCAATATATGAT
ATATATAEAATTTTTAATTTTTTCCCA
ATCCCAAATATATAT
>Contig3
AAAAAAATTTTTTCCCAATATATGAT
ATATATAEAATTTTTAATTTTTTCCCA
ATCCCAAATAAATTTTTTCCCAATAT
ATGATATATATAEAATTTTTAATTTTT... (3 Replies)
Discussion started by: the_simpsons
3 Replies
8. Shell Programming and Scripting
I know this is a challenging, its about comparing a 3 paragraph, from a whois command, i want to print what is the data that is not unique, example below is the admin phone and techphone, the rest is the same.it will print the correct and wrong
# whois google.com| sed -n '/Registry Registrant... (3 Replies)
Discussion started by: kenshinhimura
3 Replies
9. Shell Programming and Scripting
Hi guys
I am learning CAT command with text files, I have learnt the basics such as finding a word and numbering but say for example I want it to display the last paragraph how would I do this with CAT commands (4 Replies)
Discussion started by: steve2015
4 Replies
10. UNIX for Dummies Questions & Answers
I am using OSX. I have a multi-mol2 file (text file with coordinates and info for several molecules). An example of two molecules in the file is given below for molecule1 and molecule 2. The total file contains >50,000 molecules.
I would like to extract out and write to another file only the... (2 Replies)
Discussion started by: Egy
2 Replies
LEARN ABOUT PHP
swf_lookat
SWF_LOOKAT(3) 1 SWF_LOOKAT(3)
swf_lookat - Define a viewing transformation
SYNOPSIS
void swf_lookat (float $view_x, float $view_y, float $view_z, float $reference_x, float $reference_y, float $reference_z, float
$twist)
DESCRIPTION
Defines a viewing transformation by giving the viewing position and the coordinates of a reference point in the scene.
PARAMETERS
o $view_x
- x-coordinate for the viewing position
o $view_y
- y-coordinate for the viewing position
o $view_z
- z-coordinate for the viewing position
o $reference_x
- x-coordinate for the reference point
o $reference_y
- y-coordinate for the reference point
o $reference_z
- z-coordinate for the reference point
o $twist
- Controls the rotation along with viewer's z axis.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
A simple 3D-rotation around a text
<?php
header('Content-type: application/x-shockwave-flash');
swf_openfile("php://stdout", 320, 200, 25, 1, 1, 1);
swf_ortho(-100, 100, -100, 100, -100, 100); // create 3D coordinates
swf_definefont(0, "Pix3");
swf_addcolor(0, 0, 0, 1);
swf_fontsize(10);
swf_fonttracking(0.2);
for ($i = 0; $i < 628; $i += 8) {
$j = $i / 100;
swf_pushmatrix();
swf_translate(0, 0, 0);
swf_perspective(100, 1, 0, 10);
swf_lookat(sin($j) * 60, 50, cos($j) * 60, 0, 0, 0, 0);
swf_definetext (1, 'HotKey@', 0);
swf_translate(-50,0,0);
swf_placeobject(1,10);
swf_definetext(2, 'example.com', 0);
swf_translate(55, 0, 0);
swf_placeobject(2, 11);
swf_showframe();
swf_removeobject(10);
swf_removeobject(11);
swf_popmatrix();
}
swf_closefile();
?>
PHP Documentation Group SWF_LOOKAT(3)