Save output of updated csv file as csv file itself
Hi, all
I want to sort a csv file based on timestamp from oldest to newest and save the output as csv file itself. Here is an example of my csv file.
test.csv
Output required
and this is my script:
Unfortunately, when i checked them out, there is no data in the test.csv. It is blank. Or it should be saved as another csv file? But i need to save it as csv file itself.
Please help me how to solve it. Thanks in advance.
Hi i have wriiten a script which fetches the data from text file, and saves in the output in a text file itself, but i want that the output should save in different columns.
I have the output like:
For Channel:response_time__24.txt
1547 data points
0.339
0.299
0.448
0.581
7.380
... (1 Reply)
Hi
I need to execute a select statement in a solaris environment with oracle database. The select statement returns number of rows of data.
I need the data to be inserted into a CSV file with proper format. For that we normally use "You have to select all your columns as one big string,... (2 Replies)
Hi Unix gurus,
Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me.
File format: CSV file
File has four columns with no header... (8 Replies)
Hi,
I have a text file with the following format. Some of the fields are blank.
1234 3456 23 45464 327837283232 343434
5654353 34 34343 3434345 434242
....
....
....
I need to convert this file to a CSV file, like
1234, ,23, ... (3 Replies)
FILE_ID extraction from file name and save it in CSV file after looping through each folders
My files are located in UNIX Server, i want to extract file_id and file_name from each file .and save it in a CSV file. How do I do that?
I have folders in unix environment, directory structure is... (15 Replies)
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Hi,
I have a file of csv data, which looks like this:
file1:
1AA,LGV_PONCEY_LES_ATHEE,1,\N,1,00020460E1,0,\N,\N,\N,\N,2,00.22335321,0.00466628
2BB,LES_POUGES_ASF,\N,200,200,00006298G1,0,\N,\N,\N,\N,1,00.30887539,0.00050312... (10 Replies)
Hi, I am newbie in shell script.
I need your help to solve my problem.
Firstly, I have 2 files of csv and i want to compare of the contents then the output will be written in a new csv file.
File1:
SourceFile,DateTimeOriginal
/home/intannf/foto/IMG_0713.JPG,2015:02:17 11:14:07... (8 Replies)
Hi,
I have another problem. I want to sort another csv file by the first field.
result.csv
SourceFile,Airspeed,GPSLatitude,GPSLongitude,Temperature,Pressure,Altitude,Roll,Pitch,Yaw
/home/intannf/foto5/2015_0313_090651_219.JPG,0.,-7.77223,110.37310,30.75,996.46,148.75,180.94,182.00,63.92 ... (2 Replies)
Discussion started by: refrain
2 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)