1) only records that should be printed are the ones with matching field 13. If a record has no match it isn't printed.
2) matching records would be consecutive in the input.
If all 202/500 records are to be printed, regardless of whether or not there was a matching record based on field 13, then comment out the first two lines (if and return) in the print_set function.
ive looked around for software to do this in linux, but am still not sure how to. i want to be able to mount a cdr and write to it and be able to take the disk out and finish writing whatever i want to it at a later time. can we do this in linux? (4 Replies)
HI all,
I am relatively new to Unix Shell Scripts ...
I want to know how u can calculate the differnece between the 2 dates.
As if in Oracle by using SYSDATE u get current date and time ..
How one can achieve it in Unix ?
Thanks.. (1 Reply)
Hi,
I need to do croning in PHP to generate a CDR (Call Details Record) file daily from the mysql database.
The CDR file has to be named in a certain sequence such as xx00000xxx200604080850.cdr. A new file is written every day.
The generated CDR file is then ftp over to a server.
I am... (0 Replies)
I am sending the data in userfile and colfile from ksh script to pl/sql script
linto an array with this command
grep '' $userfile |awk '{print "my_user_id("FNR") := '$SQL_QUOTE'"$1"'$SQL_QUOTE';"}' >> $SQL_TEMP_FILE
grep '^\{1,10\}$' $colfile | awk '{print "my_col_id("NR") := "$1";"}' >>... (0 Replies)
Hi Everyon,
I am stuck in a script.I have a file named file1.txt as given below:
It contains 2 columns-count and filename.
cat file1.txt
count filename
100 A_new.txt
1000 A_full.txt
1100 B_new.txt
2000 B_full.txt
1100 C_new.txt
2000 C_full.txt
...................
..................... (10 Replies)
Hi All,
I need to find the date 19days back from the current date:
eg: if today is 17 March 2013
then the output should be : 26 Feb 2013
Can i do this using date command in Korn Shell?
And also if i need future 15 days date from current date, how to that?
Any help appreciated :)
... (3 Replies)
Hi All,
I have one file with two columns separated by tab.
I need to search for second column value of this file in the 5 column of another file. If the match is found replace the 5th column of second file with entire row of the first file.
e.g.
file1
123 D.abc
234 D.rde
4563 ... (2 Replies)
Hi,
I am in a terrible emergency. I have multiple cdr files with line count >6000.
I need to append |0| | | | | | | |random| to end of each line. The random number should never repeat.
Please help with a shell script to process all cdr's in a directory with above requirement. (23 Replies)
Discussion started by: shiburnair
23 Replies
LEARN ABOUT DEBIAN
xjump
XJUMP(6) Games Manual XJUMP(6)NAME
xjump - a jumping game for X
SYNOPSIS
xjump [ -toolkitoption ] ... [ -private ] [ -graphic file ] [ -keymap ]
xjump [ -help ]
DESCRIPTION
Xjump is a jumping game where you are in a Falling Tower. The floor you are standing on is sinking with the rest of the building; you will
die once the floor gives way (disappears under the bottom of the display). To survive, you have to jump onto the upper floors of the tower.
Because the entire tower is sinking, the upper floors will soon collapse, too, so you have to keep on jumping to higher floors.
Your score is counted by how many floors you jump before you either fall off while trying to reach the next floor, or the floor you are
standing on collapses.
OPTIONS -toolkitoption ...
Specify X toolkit options (such as -geometry, -display, etc.).
-private
Use private colormap.
-graphic FILE
Use the XPM graphic file FILE for graphics.
-keymap
Read keymap directly.
-help Display a summary of command-line syntax.
GAME CONTROLS
To begin the game, press the Space-bar from the highscore screen.
Once the game begins, movement is controlled by the Left and Right arrow keys. To jump, use the Up arrow key.
Note that hitting the Left or Right arrow keys many times will cause the player to go faster. You can use this to reach floors that are far
away. But be careful not to jump too far and miss! You can also change your speed while jumping through midair. If your reflexes are fast
enough, you can salvage a bad jump this way. Good luck!
To quit the game, press shift-Q.
COPYRIGHT
Copyright (C) 1997-1999
Tatsuya Kudoh(CDR/TK) <kudoh@koken.club.uec.ac.jp>
Masato Taruishi <taru@debian.org>
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later version without ANY WARRANTIES.
AUTHOR
xjump was written by Tatsuya Kudoh(CDR/TK) <kudoh@koken.club.uec.ac.jp> and Masato Taruishi <taru@debian.org>.
This manual page was written by H. S. Teoh <hsteoh@debian.org>, for the Debian GNU/Linux system. The original game does not come with a
manual page.
XJUMP(6)