09-09-2013
no differences between the code you post and mine
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
give me a shell-script which extract data from log file on a server by giving date and time as input (for both start time and end time) and it will give the logs generated during the given time as output. (4 Replies)
Discussion started by: abhishek27
4 Replies
2. Shell Programming and Scripting
Hi , I am having a script which will start a process and appends the process related logs to a log file. The log file writes logs with every line starting with date in the format of: date +"%Y %b %d %H:%M:%S".
So, in the script, before I start the process, I am storing the date as DATE=`date +"%Y... (5 Replies)
Discussion started by: chiru_h
5 Replies
3. Shell Programming and Scripting
Hi All,
I'm still a newbie in perl programming. I have a data below say in test.tmp
The output in test.tmp will be the same data as above sample in test.tmp . So after i get all the 4th column data within the range of month and year i need, then i will use the foreach () code to execute... (1 Reply)
Discussion started by: miskin
1 Replies
4. Shell Programming and Scripting
Dear All,
Please apology to me if this question already posted, because I try to find it but not found.
I have make bash script to automatically download data from ftp and this running very well. and after the data downloaded it will automatically extract the data and keep in the specific... (2 Replies)
Discussion started by: chenboly
2 Replies
5. Shell Programming and Scripting
I am having a log file in which i need a range of data from specific date range.
$cat my.log
Jan 07 15:39:03 N/A _M_LocalDirectory listFiles(): listing files from dir
Jan 07 15:39:03 N/A _w_fm_log:_f_Push() _w_fm_log_export_ftppush(): Files f
Jan 07 05:58:35 N/A _w_fm_log_autoexport ... (6 Replies)
Discussion started by: posix
6 Replies
6. Shell Programming and Scripting
If I have a log like :
Mon Jul 19 05:07:34 2010; TCP; eth3; 52 bytes; from abc to def
Mon Jul 19 05:07:35 2010; UDP; eth3; 46 bytes; from aaa to bbb
Mon Jul 19 05:07:35 2010; TCP; eth3; 52 bytes; from def to ghi
I will need an output like this :
Time abc to def... (1 Reply)
Discussion started by: hitha87
1 Replies
7. Shell Programming and Scripting
Please help me out to extract the Data from the XML Log files.
So here is the data
ERROR|2010-08-26 00:05:52,958|SERIAL_ID=128279996|ST=2010-08-2600:05:52|DEVICE=113.2.21.12:601|TYPE=TransactionLog... (9 Replies)
Discussion started by: raghunsi
9 Replies
8. Shell Programming and Scripting
Hi,
I want to make a query about extracting data from two files that both have data ranges.
the data that i want to extract; when there is matching between file1 column 2 is equal to file2 column2 , and file1 column 3 and column 4 is within the range of file2 columns 3 and 4. I would like rows... (1 Reply)
Discussion started by: houkto
1 Replies
9. Shell Programming and Scripting
Hi, im trying to write a grep script that returns me the last inputs added in the last hour in the log file. Literally i have nothing yet but:
grep 'Line im looking for' LOGFILE.log | tail -1
this only gives me the last input, but no necessarily from the last hour.
Help Please. (4 Replies)
Discussion started by: blacksteel1988
4 Replies
10. Shell Programming and Scripting
So, we have a script, that is supposed to have a couple of functions like showing number of failed connections, recieved bytes per IP-address, and so on. We are supposed to be able to limit the number of results to either 0-24 hours or X days back from the last data in the log file.
Everything... (3 Replies)
Discussion started by: Plumpen
3 Replies
LEARN ABOUT DEBIAN
xdemineur
XDEMINEUR(6x) XDEMINEUR(6x)
NAME
xdemineur - X11 minesweeper game
SYNOPSIS
xdemineur [-v] [-display displayname] [-geometry geom] [-m mines]
DESCRIPTION
Xdemineur is a minesweeper game for the X Window System.
The object of this game is to find the location of the mines hidden in the minefield and to mark their location by placing a warning flag.
You have exactly as many flags as there are mines. The number of flags that remain to be placed is displayed in the top left corner of the
window and a timer is displayed in the top right corner.
The game is played using a three buttons mouse, as usual with the X Window System. The left button (button 1) is used to uncover the
square on which you click (hoping that a mine is not hidden there). The number displayed in an uncovered square indicates how many mines
are located around this square (for example, a 3 means that there are three mines within the 8 surrounding squares). The whole game relies
on the right use of these numbers. The right button (button 3) is used to place a flag on a square (this indicates that there is a mine
here). If you click again with the right button on a square that has a flag, the flag is changed into a question mark: this is useful if
you are trying to guess the possible location of some mine, you can use question marks to think about it. One more click with the right
button and the question mark disappears. Clicking with the middle button (button 2) on an uncovered square which has all its flags placed
around uncovers the surrounding cells which have no flags (this will save a lot of time).
Finally, to start a new game, just click on the yellow face above the minefield.
OPTIONS
-v Print out version number and copyright notice then exit.
-display displayname
This option specifies the name of the X server to use. See X(1).
-geometry geom
This option specifies the initial size and location of the window. See X(1). The size is expressed in number of columns times num-
ber of rows. The default is 30x16. The minimum number of columns is 12.
-m mines
This option specifies the number of mines in the minefield. If there are more mines than squares in the minefield, the default
mine number is used.
BUGS
Please report any bug you could find in xdemineur to <babafou@babafou.eu.org>. Also, you should tell me the customizations you may have
done, such as adding new functions to the game or making modifications to allow the game to run on your system.
COPYRIGHT
Copyright (C) 1993-1999 Marc Baudoin <babafou@babafou.eu.org>
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro-
vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup-
porting documentation. The author makes no representations about the suitability of this software for any purpose. It is provided "as is"
without express or implied warranty.
AUTHOR
Marc Baudoin <babafou@babafou.eu.org>
XDEMINEUR(6x)