I need to multiply the value of a variable and then store it in another variable. I have EXPHOURINSEC=$(($EXPDATEHOUR * 3600)) but i get an error saying the * is unexpected.
Im using ksh (4 Replies)
All I want to do is find 5!.
read num
num={1..5}
while
do
f=
done
echo f
Error Msg. line 5: ${1..5} bad substitution
line 6: integer expression expected
Line 5 is the num=...
Line 6 is the "while" statement
I am new at this, and I am really, really trying.
Please... (14 Replies)
Hi
I have 2 files:-
1. List of files which consists of names of some output files.
2. A delimited file; delimted by "|"
I want to replace the value of the $23 (23rd column) in the delimited file with name in the first file. It is always position to position. Meaning first row of the first... (5 Replies)
Hi all,
I have 2 files. One contains only 1 column and other one contains 2 columns, let say 1_col.txt and 2_col.txt respectively. Here, I will try to explain with an example.
Input files :
1_col.txt 2_col.txt
a a b
x a c
p ... (5 Replies)
Basically, my problem is to multiply my file to $c times. Is there a faster way to do this?
c=100
while ]; do
cat file1.txt
((c=$c-1))
done > file2.txt
I appreciate your help! (6 Replies)
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- I am trying to compare the values of Column1 of File1 with Column1 of File2. If a match is found, print the corresponding value from Column2 of File1 in Column5 of File2.
- I tried to modify and use... (10 Replies)
Hi Everyone !
I have two files with the same configuration
and I want to multiply corresponding values and write the result in a file.
Let say 2 header lines and then lines of values (with not constant number of columns):
more file1.txt -->
BLABLABLA
BLABLABLA
1 2 3 4
1 2 3
1 2
1... (7 Replies)
I have a file containing multiple values, some of them are pipe separated which are to be read as separate values and some of them are single value all are these need to store in variables.
I need to read this file which is an input to my script
Config.txt
file name, first path, second... (7 Replies)
Hi,
I want to replace a chain of if-else statement in an old AWK file with values from Db2 table or CSV file. The part of code is below...
if (start_new_rec=="true"){
exclude_user="false";
user=toupper($6);
match(user, "XXXXX.");
if (RSTART ==2 ) {
... (9 Replies)
Hi,
I have two files with values in both.
File1:
cat 2 3
dog 4 5
elephant 6 7
camel 2 3
File2:
----+--gkf;ajf=
---+----
+----- cat -------=----+ 3 | 4 ----- dog ------++-- 5 | 9 ----++-- elephant |
5 | 7
---++ camel ------ ++++_---- || 8 | 9
I want the final file as:
cat 4... (1 Reply)
Discussion started by: npatwardhan
1 Replies
LEARN ABOUT DEBIAN
freetennis
FREETENNIS(6) Games Manual FREETENNIS(6)NAME
freetennis - free tennis simulation game
SYNOPSIS
freetennis [options]
DESCRIPTION
Free Tennis is a free tennis simulation game.
OPTIONS
A summary of options is included below.
-help, --help
Show summary of options.
-p0 <name>
The name of player 0 (default: ivan).
-p1 <name>
The name of player 1 (default: ivan).
-donotshowpause
When the game is paused, do not show the "paused" sign. Useful for screenshots.
-showfps
Display the number of Frames Per Second (on the standard output). Useful for debugging.
-aidebug
Shows some info useful to debug AI.
-realistic
Make the game realistic. This alters the parabola visibility depending on the player and shot. Better gameplay, but not suitable for
newbies.
-newbie
Make the game not realistic, but more suited to newbies. The parabola is fully visible.
-nosound
Run with no sound.
-xres <integer>
The horizontal resolution (default: 640).
-yres <integer>
The vertical resolution (default: 480).
-port <integer>
The TCP port to use. Makes sense with -client and -server. The default is 4000.
-computerskill <integer>
Skill level of computer. A number from 0 (very difficult) to 250 (very easy). Default is 190.
-client <ip address>
The IP address of the server. Only for multiplayer.
-server
Run Free Tennis as server. Only for multiplayer.
-surf <surface>
SURF: surface for the court. Choices are "clay", "cement", "grass".
SEE ALSO
http://freetennis.sourceforge.net/
/usr/share/doc/freetennis-common/web-site/index.html
AUTHOR
freetennis was written by Maurizio Colucci <maurizio.colucci@gmail.com>.
This manual page was written by Bart Martens <bartm@knars.be> and updated by Mehdi Dogguy <dogguy@pps.jussieu.fr>, for the Debian project
(but may be used by others).
Apr 26, 2008 FREETENNIS(6)