I try to run this code (ami.pl)
but still can't work. I place my fps.csv and ami.pl in one folder at my dekstop. Once I click ami.pl it will just pop out and nothing happened in fps.csv. I try to add break; at the end of the code but still the .pl file close automtically.
Last edited by Franklin52; 09-05-2011 at 06:29 AM..
Reason: Please use code tags for code and data samples, thank you
I have a file which is
2
3
4
5
6
6
so i am writing program in C to calculate mean..
#include<stdio.h>
#include<string.h>
#include <math.h>
double CALL mean(int n , double x)
main (int argc, char **argv)
{
char Buf,SEQ;
int i;
double result = 0;
FILE *fp; (3 Replies)
I am new to perl, and need a script to pull a CSV file, strip out 2 leading columns, and 2 ending columns, and resave the file in a new location. The file is basic and has less than 10,000 records. Secondly, can I schedule perl scripts to run daily? Can someone provide the basic script to... (1 Reply)
My input:
>AAA_100
10 20 50 60 10 100 15 10
>AAA_100
20 20 50 60 20 100 15 10
>AAA_100
10 20 50 60 40 100 15 10
>AAA_100
40 20 50 60 10 100 15 10
.
.
.
My Output
20 20 50 60 20 100 15 10
If I have a long list of file. I want to calculate average of each position inside the contents... (7 Replies)
I have CSV file that contains data in the format as shown below:
ABC, 67, 56, 67, 78, 89, 76, 55
PDR, 85, 83, 83, 72, 82, 89, 83
MPG, 86, 53, 54, 65, 23, 54, 75
..
..
..
..
I want to create a script that will pull out the rows from the above sheet and paste it into another CSV file.... (12 Replies)
Hello,
I'm hoping to get some help on calculating an average time from a list of times (hour:minute:second).
Here's what my list looks like right now, it will grow (I can get the full date or change the formatting of this as well):
07:55:31
09:42:00
08:09:02
09:15:23
09:27:45
09:49:26... (4 Replies)
Dear Gurus,
I have tab-delimited text files with matrix containing values. The first column is a identifier and other columns have the corresponding values. I would like to calculate the average value (total number/number of entries) for all entries from 2nd column to the last column in row... (3 Replies)
Hi Friends,
I want to convert a csv file into a ordinary .txt file. I am able to convert but I want the output to look as shown below in the .txt file
table findhost=
{
{"xyz","abc"},
{"rxz","mmz"},
{"vrr","nnz"},
}
default={"NONE"}
My current perl script
#!/usr/bin/env perl... (12 Replies)
Hi, I need help with the awk command.
I have a folder with aprox 500 files each one with two columns and I want to print in a new file, the average of column 1 and average of column 2 and the name of each file.
Input files are:
File-1:
100 99
20 99
50 99
50 99
File-2:
200 85... (3 Replies)
hi all i have a reporting work and i want it to be automated using shell scripting kindly let me know how can i make that possibe .
eg data are :... (2 Replies)
Hi,
I need to calculate the average of the following values using shell scripitng.
Can anyone please suggest a solution?
... (10 Replies)
Discussion started by: karan pratap si
10 Replies
LEARN ABOUT DEBIAN
gltron
GLTRON(6) Games Manual GLTRON(6)NAME
gltron - a tron-like 3D lightcycle game
SYNOPSIS
gltron [[-FftwbghcCsk1234simo]
DESCRIPTION
glTron is a tron-like lightcycle game with a nice 3D perspective 3D acceleration is recommended.
More information can be found at the gltron web site http://www.gltron.org/
PROBLEMS
If the game refuses to start up, check your hardware settings and that the necessary libraries are installed.
If the options are messed up, remove ~/.gltronrc and try again.
Anything else check TODO, known bugs on the website, and lastly ask in #gltron on irc.freenode.net.
OPTIONS
Valid command line options:
-O enable software optimizations, useful if your card doesn't have OpenGL acceleration. For best results combine with -t and -1.
-f fast finish after human has crashed
-F don't display FPS counter
-t don't display floor texture, use lines instead (huge speed gain)
-w don't display walls (speed gain)
-x don't show crash texture (speed gain)
-g don't show glows (small speed gain)
-c don't show ai status
-C show ai status (default: on)
-1 set resolution to 320x240
-2 set resolution to 640x480 (default)
-3 set resolution to 800x600
-4 set resolution to 1024x768
-s don't play sound
-h help
AUTHOR
Updated with PROBLEMS section by Countersync <countersync@hotmail.com> before submission to upstream source.
This manual page was written by Jeronimo Pellegrini <pellegrini@mpcnet.com.br>, based on the information in the package by Raphael
Bossek, for the Debian GNU/Linux system (but may be used by others).
2001-06-10 GLTRON(6)