Hi,
I am having almost the same problem as junior member 'oupsforum' (refer to subjuct "deleting double entry in a log file"), only that I am using Sun Sorlaris Unix which the uniq command does not has the flag -w. So I am not able to ignore certain portion of the line when the uniq doing the... (3 Replies)
Is there an easy way to delete the first so many lines in a log file?
like I have a log file that has 10000 lines, i want to just get rid of the first 9000. (2 Replies)
Hi All,
I have a big log file i want to delete all characters (between 350th to 450th characters) starting at 350th character position to 450th character position.
please advice or sample code. (6 Replies)
Hi,
i need a script, which deletes doulbe items in a file.
My file looks like:
-
-
-
xxx
xxx
G123
G234
G234
G234
o
o
...
First i want to sort the file an then i want to delete double items.
Can anyone help me. I work under solaris10. (3 Replies)
In our shop, we have a situation where a log file from our interface engine software has begun maxing out in file size (reaching the 32-bit "2147483647" limit). Currently, the only way to rectify this is to stop the interface and restart it, which generates a new log. Easy enough, but the... (6 Replies)
Hello,
This is my first post. Nice forum!
I have a file trls.results
small exemple of content (actually the file can be very big):
./security/htaccess.htm ./security/ipcount.log ./adhoc/sql/datamod06.sql
So there is 3 paths to 3 different files... I want to remove every string that has a... (9 Replies)
Hello Community,
sorry iam from germany and my englisch is not so well.
iam searching for less then 4 hours on the web for a solution of my problem.
i have a proxy-log-file and want to delete lines wicht matches on two words.
example of the line in the logfile:
now i want to delet... (3 Replies)
Hi,
I have a file which contains entries in this format.
my-bin.000140
my-bin.000141
my-bin.000142
my-bin.000143
my-bin.000144
my-bin.000145
my-bin.000146
my-bin.000147
my-bin.000148
my-bin.000149
my-bin.000150
my-bin.000151
my-bin.000152
my-bin.000153
my-bin.000154... (2 Replies)
Discussion started by: arijitsaha
2 Replies
LEARN ABOUT DEBIAN
blaze-log
BLAZE-LOG(1) BlazeBlogger Documentation BLAZE-LOG(1)NAME
blaze-log - displays the BlazeBlogger repository log
SYNOPSIS
blaze-log [-cqrsCV] [-b directory] [-n number]
blaze-log -h|-v
DESCRIPTION
blaze-log displays the content of the BlazeBlogger repository log.
OPTIONS -b directory, --blogdir directory
Allows you to specify a directory in which the BlazeBlogger repository is placed. The default option is a current working directory.
-n number, --number number
Allows you to specify a number of log entries to be listed.
-s, --short
Tells blaze-log to display each log entry on a single line.
-r, --reverse
Tells blaze-log to display log entries in reverse order.
-c, --color
Enables colored output. When supplied, this option overrides the relevant configuration option.
-C, --no-color
Disables colored output. When supplied, this option overrides the relevant configuration option.
-q, --quiet
Disables displaying of unnecessary messages.
-V, --verbose
Enables displaying of all messages. This is the default option.
-h, --help
Displays usage information and exits.
-v, --version
Displays version information and exits.
FILES
.blaze/log
A file containing the repository log.
EXAMPLE USAGE
List the whole repository history:
~]$ blaze-log
Date: Sun Jul 25 16:48:22 2010
Edited the page with ID 5.
Date: Tue Jul 6 18:54:59 2010
Edited the page with ID 5.
etc.
List the whole repository history in reverse order:
~]$ blaze-log -r
Date: Tue Feb 10 00:40:16 2009
Created/recovered a BlazeBlogger repository.
Date: Tue Feb 10 01:06:44 2009
Added the page with ID 1.
etc.
Display the very first log entry on a single line:
~]$ blaze-log -rs -n 1
Tue Feb 10 00:40:16 2009 - Created/recovered a BlazeBlogger repository.
SEE ALSO blaze-init(1), blaze-config(1)BUGS
To report a bug or to send a patch, please, add a new issue to the bug tracker at <http://code.google.com/p/blazeblogger/issues/>, or visit
the discussion group at <http://groups.google.com/group/blazeblogger/>.
COPYRIGHT
Copyright (C) 2009-2011 Jaromir Hradilek
This program is free software; see the source for copying conditions. It is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Version 1.2.0 2012-03-05 BLAZE-LOG(1)