Hi All,
I like to read the log file from specific time to end of the file.
eg:
message
date and time
message 1
date and time1
message 2
EOF
I want to read all the text (Messages) after date and time to end of the file.
Please let me know the UNIX command to perform this?.
Thanks,... (9 Replies)
I have several very large file that are extracts from Oracle tables. These files are formatted in XML type syntax with multiple entries like:
<ROW>
some information
more information
</ROW>
I want to grep for some words, then print all lines between <ROW> AND </ROW>. Can this be done with AWK?... (7 Replies)
Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').... (1 Reply)
Dear All
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB... (5 Replies)
Hello All,
this is my first post so I don't know if I am doing this right.
I would like to append entries from a series of strings (contained in a text file) consecutively at the end of specifically labeled lines in another file.
As an example:
- the file that contains the values to be... (3 Replies)
I need help with extract/print lines till stop pattern. This needs to happen after every 3rd occurrence of start pattern and continue till end of file. Consider below is an example of the log file. my start pattern will be every 3rd occurrence of ERROR_FILE_NOT_FOUND and stop pattern will be... (5 Replies)
hi all,
trying this using shell/bash with sed/awk/grep
I have two files, one containing one column, the other containing multiple columns (comma delimited).
file1.txt
abc12345
def12345
ghi54321
...
file2.txt
abc1,text1,texta
abc,text2,textb
def123,text3,textc
gh,text4,textd... (6 Replies)
Hi, In my previous post ( How to print lines from a files with specific start and end patterns and pick only the last lines? ), i have got a help to get the last select statement from a file, now i need to remove/exclude the output from main file:
Input File format:
SELECT
ABCD,
DEFGH,... (2 Replies)
Hi, I need to print lines which are matching with start pattern "SELECT" and END PATTERN ";" and only select the last "select" statement including the ";" .
I have attached sample input file and the desired input should be as:
INPUT FORMAT:
SELECT
ABCD,
DEFGH,
DFGHJ,
JKLMN,
AXCVB,... (5 Replies)
Discussion started by: nani2019
5 Replies
LEARN ABOUT DEBIAN
swf::bitmap
.::SWF::Bitmap(3pm) User Contributed Perl Documentation .::SWF::Bitmap(3pm)NAME
SWF::Bitmap - Bitmap class
SYNOPSIS
use SWF::Bitmap;
$bitmap = new SWF::Bitmap('filename');
$fill = $shape->addBitmapFill($bitmap);
DESCRIPTION
SWF::Bitmap enables you to add JPG, PNG, GIF and DBL files. It is a helper class most useful for filling shapes (i.e. SWF::Shape objects).
DBL files ('Define Bitmap Lossless') may be produced from PNG or GIF files by using png2dbl or gif2dbl tools.
METHODS
$bitmap = new SWF::Bitmap($filename, [$alpha])
Creates a new SWF::Bitmap object using 'filename'. The alpha parameter represents a filename for opacity data ('alpha' channel), but
only for JPG files. Alpha data files are produced by tool gif2mask. The original GIF used for gif2mask input file containing alpha
information should have same dimensions (width x height) as the JPG file.
$bitmap = newBitmapFromFileHandle($filehandle)
Creates a new SWF::Bitmap object using an open file handle $filehandle . This way you could use STDIN, piped data etc. etc. for input.
A simple example:
open (PICT,'flowers.jpg') or die;
$bmp = newBitmapFromFileHandle SWF::Bitmap(PICT);
# .....
$m->save("my_flowers.swf");
close (PICT);
# Please note: do not close the PICT file too early.
$bitmap = newSWFDBLBitmap SWF::Bitmap($filename)
Creates a new SWF::Bitmap object using DBL file. Use this constructor if you have a file with DBL data, but not with .dbl filename
extension.
$bitmap = newSWFJpegBitmap SWF::Bitmap($filename)
Creates a new SWF::Bitmap object using JPG file. Use this constructor if you have a file with JPG data, but not with .jpg or .jpeg
filename extension.
$bitmap = newSWFJpegWithAlpha SWF::Bitmap($filename,$alpha_filename)
Creates a new SWF::Bitmap object using JPG file similar newSWFJpegBitmap() with additional opacity information in 'alpha' file. Use
this constructor if you have a file with JPG data, but not with .jpg or .jpeg filename extension and if there is opacity information
available in 'alpha_filename' file. Alpha data files are produced by gif2mask tool. The original GIF file containing alpha information
used for gif2mask input should have same dimensions as the JPG file.
$width = $bitmap->getWidth();
Returns width of bitmap in pixels.
$height = $bitmap->getHeight();
Returns height of bitmap in pixels.
AUTHOR
Soheil Seyfaie (soheil@netcom.ca), Albrecht Kleine and developers of ming.sourceforge.net
SEE ALSO
SWF, SWF::Fill, SWF::Shape, SWF::Button, SWF::Constants, png2dbl, gif2dbl, gif2mask
perl v5.14.2 2011-10-26 .::SWF::Bitmap(3pm)