10-28-2013
CAN YOU PLEASE EXPLAIN WHAT {A[$1]++" EXACTLY " DOES? IT IS CREATING AN ARRAY BUT NOT ASSIGNING ANYTHING. FURTHER INCREMENT SIGN IS NOT UNDERSTOOD BY ME. PLEASE HELP ME UNDERSTAND THIS.
Moderator's Comments:
|
|
No shouting in our forums. Do not type in all caps.
|
|
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
can anyone help to write data into a text file in bold format and rollback to actual format.
Thanks,
Regards,
Milton Y. (1 Reply)
Discussion started by: miltony
1 Replies
2. Shell Programming and Scripting
using awk to substitute data in a column delimited text file
hello i would like to use awk to do the following calculation from the following snippet.
input file
C;2390 ;CV BOUILLOTTE 2L 2FACES NERVUREES ;1.00 ;3552612239004;13417 ;25 ;50 ; 12;50000 ; ; ... (3 Replies)
Discussion started by: iindie
3 Replies
3. Shell Programming and Scripting
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)
Discussion started by: asnandhakumar
6 Replies
4. Shell Programming and Scripting
I have a text file that has the following column data:
0.007
0.005
0.004
0.007
How do i output the total sum of the data above? (6 Replies)
Discussion started by: alegnagrp
6 Replies
5. Shell Programming and Scripting
Hi All,
I have the requirement in unix shell script.
I want to write the "ls -ltr" command out put to excel file as below.
Input :text file data :
drwxr-xr-x 5 root root 4096 Oct 2 12:26
drwxr-xr-x 2 apx aim 4096 Nov 29 18:40
drwxr-xr-x 5 root root 4096 Oct 2 12:26
drwxr-xr-x... (10 Replies)
Discussion started by: Balasankar
10 Replies
6. Shell Programming and Scripting
Hi Guys,
I wanted to compare a delimited file and positional file, for a particular key files and if it matches then append the positional file with some data.
Example:
Delimited File
--------------
Byer;Amy;NONE1;A5218257;E5218257
Byer;Amy;NONE1;A5218260;E5218260
Positional File... (3 Replies)
Discussion started by: Ajay Venkatesan
3 Replies
7. Shell Programming and Scripting
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)
Discussion started by: refrain
8 Replies
8. Shell Programming and Scripting
I am working on an outage script and I run a command from the command line which tells me the amount of generator failures in my market. The output of this command only gives me three digits to identify the site by. I have a master list of all sites in a separate file, call it list.txt. If my... (7 Replies)
Discussion started by: jbrass
7 Replies
9. Shell Programming and Scripting
Hi everyone..
I have a list of values in a file...
a,
b,
c,
1,
2,
3,
aaaa,
bbbbb,
I am interested in converting this column to a row..
"text",aaaa,
bbbb
a,1 (7 Replies)
Discussion started by: manihi
7 Replies
10. UNIX for Beginners Questions & Answers
"Debain 9 - LXDE"
I execute follow line in the bash terminal:
/ts3/server/ts3server_startscript.sh start createinifile=1 | tee -a /ts3/server/key.txt
The displayed output looks like follow:
My key.txt file looks like follow:
How can i save the whole displayed text in my file?
Why does... (5 Replies)
Discussion started by: int3g3r
5 Replies
LEARN ABOUT DEBIAN
tomatoes
TOMATOES(6) TOMATOES(6)
NAME
tomatoes - Tomatoes smashing game
SYNOPSIS
tomatoes
SYNOPSIS
I Have No Tomatoes is an extreme leisure time activity idea of which culminates in the following question: How many tomatoes can you smash
in ten short minutes? If you have the time to spare, this game has the vegetables just waiting to be eliminated!
NOTES
Before starting the game, you should know that the game uses OpenGL for hardware accelerated 2d & 3d graphics. This means that you must
have fully OpenGL compatible graphics card in your PC. Your card also needs to be able to use 512x512 textures, and this rules out Voodoo
1, 2 and 3 (limited to 256x256 textures).
As for the CPU and memory requirements, I'd recommend something along the lines of Pentium II (or an AMD equivalent) and 64MB. The game
works on much slower systems as well, as the game skips frames if the system can't keep up with the 60 FPS rate; this ensures that the game
runs at the right speed, you just don't get very smooth animation.
This game features solid game play with beautiful OpenGL API driven isometric 3d graphics and nice music. It also includes a MOD player,
and you can use your own MOD-type music in the game background. Just copy your XM/S3M/IT/MOD - files to the music subdirectory of I Have No
Tomatoes and the game plays them. You can press F1 to skip a song when ingame. There's room for 128 MODs. Btw, if you don't have any MOD
music, ModArchive (www.modarchive.com <URL:www.modarchive.com>) is a good place to download some.
CONFIGURATION
You may also want to set some options, such as the screen resolution and color depth. By default, I Have No Tomatoes starts fullscreen in
800x600 resolution, 32bpp. To fine-tune the preferences to suit your PC better, open the file config.cfg in a text editor (Notepad will
do). Under Unix this file is stored in ~/.tomatoes/.
Most likely you'll be interested in these lines:
o video_mode = 800 x 600
o video_mode_color_depth = 32
o video_mode_fullscreen = 1
o sound_enabled = 1
To set the resolution, change the video_mode - line (some common resolutions include 640 x 480, 800 x 600, 1024 x 768). Most common color
depths are 16 and 32, and sometimes 24. video_mode_fullscreen controls whether the game starts in fullscreen or in a window. When running
in windowed mode, you can use any resolution you want (the 4:3 aspect ratio modes are still preferred). If you don't have a sound card (or
want to turn the sounds off), set sound_enabled to 0 (zero).
Finally, if you want to know how many frames your system draws per second (FPS), set show_fps to 1. FPS should be over 60 for smooth anima-
tion.
The default keys can be changed from the Options menu in game, so no need change them here.
When you're satisfied with the config.cfg settings, by all means, proceed to start the game :)
AUTHOR
You can contact the author by email at <lsoft@mbnet.fi>. Notice that since 12th of July, 2004 I've been in the army, so don't expect imme-
diate responses. Be patient :)
This man page was compiled by Helge Kreutzmann <debian@helgefjell.de> for the GNU/Linux project but it may be used by everybody else as
well.
SEE ALSO
Tomates homepage: http://tomatoes.sourceforge.net <URL:http://tomatoes.sourceforge.net>
tomatoes 23 May 2012 TOMATOES(6)