06-26-2008
yes the log file contains the date and time entry in it...in the formate 06/25/08:02:15:00
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I am starting with UNIX. Any help is highly appreciated.
How to extract data using UNIX shell script? And how do you export data using UNIX shell scripts into Microsoft Excel format?
Thank you. (3 Replies)
Discussion started by: desiondarun
3 Replies
2. Shell Programming and Scripting
Hi,
This is the xml file that i have.
- <front-servlet platform="WAS4.0" request-retriever="SiteMinder-aware" configuration-rescan-interval="60000">
<concurrency-throttle maximum-concurrency="50" redirect-page="/jsp/defaulterror.jsp" />
- <loggers>
<instrumentation... (5 Replies)
Discussion started by: nishana
5 Replies
3. Shell Programming and Scripting
Hello Scripting Gurus,
I need help with extracting data from the XML file using shell script.
The data is in a large XML and I need to extract the id values of all completedworkflows. Here is a sample of it. Input and output data is also in the attached text files.
<wfregistry>... (5 Replies)
Discussion started by: yajaykumar
5 Replies
4. Shell Programming and Scripting
shell script (4 Replies)
Discussion started by: frns5
4 Replies
5. 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
6. Shell Programming and Scripting
hi
i am trying to extract some specific data out of a text file using regular expressions with shell script
that is using a multiline grep .. and the tool i am using is pcregrep so that i can get compatibility with perl's regular expressions
for a sample data like this, i am trying to grab... (6 Replies)
Discussion started by: vemkiran
6 Replies
7. UNIX for Dummies Questions & Answers
Hi Guys,
I am new to shell script.I need your help to write a shell script.
I need to write a shell script to extract data from a .csv file where columns are ',' separated.
The file has 5 columns having values say column 1,column 2.....column 5 as below along with their valuesm.... (1 Reply)
Discussion started by: Vivekit82
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I am new to shell script.I need your help to write a shell script.
I need to write a shell script to extract data from a .csv file where columns are ',' separated.
The file has 7 columns having values say column 1,column 2.....column 7 as below along with their values.
Name, Address,... (7 Replies)
Discussion started by: Vivekit82
7 Replies
9. Shell Programming and Scripting
Hi everyone,
I have a csv file which has data with different heading and column names as below.
Static Data Ingested
,,,,,,,,,,,,Known Explained Rejections
Column_1,column_2,Column_3,Column_4,,Column_6,Column_7,,% Column_8,,Column_9 ,Column_10 ,... (14 Replies)
Discussion started by: Vivekit82
14 Replies
10. UNIX for Beginners Questions & Answers
I have this 5GB file, and i want to extract from the file particulars pattern.
this is my script:
//
count=`grep -wc "MSISDN" file_name`
k=1
>OUTPUT
>OUTPUT_Final
while
do
cat file_name | awk -F":" -v var="$k" '$1=="MSISDN" {m++}m==var{print; exit}' >> OUTPUT
cat file_name |awk -F":"... (33 Replies)
Discussion started by: gillesi
33 Replies
doctools::cvs(3tcl) Documentation tools doctools::cvs(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
doctools::cvs - Processing text in 'cvs log' format
SYNOPSIS
package require Tcl 8.2
package require textutil
package require doctools::cvs ?1?
::doctools::cvs::scanLog text evar cvar fvar
::doctools::cvs::toChangeLog evar cvar fvar
_________________________________________________________________
DESCRIPTION
This package provides Tcl commands for the processing and reformatting text in the format generated by the cvs log command.
The commands ::doctools::cvs::scanLog and ::doctools::cvs::toChangeLog are derived from code found on the Tcl'ers Wiki
[http://wiki.tcl.tk]. See the references at the end of the page.
API
::doctools::cvs::scanLog text evar cvar fvar
The command takes the text and parses it under the assumption that it contains a CVS log as generated by cvs log. The resulting
information is stored in the variables whose names were specified via evar, cvar, and fvar.
Already existing information in the referenced variables is preserved, allowing the caller to merge data from multiple logs into one
database.
varname evar (in)
Has to refer to a scalar variable. After the call this variable will contain a list of all the entries found in the log file.
An entry is identified through the combination of date and author, and can be split over multiple physical entries, one per
touched file.
It should be noted that the entries are listed in the same order as they were found in the text. This is not necessarily
sorted by date or author.
Each item in the list is a list containing two elements, the date of the entry, and its author, in this order. The date is
formatted as year/month/day.
varname cvar (in)
Has to refer to an array variable. Keys are strings containing the date and author of log entries, in this order, separated
by a comma.
The values are lists of comments made for the entry.
varname fvar (in)
Has to refer to an array variable. Keys are strings containing date, author of a log entry, and a comment for that entry, in
this order, separated by commas.
The values are lists of the files the entry is touching.
::doctools::cvs::toChangeLog evar cvar fvar
] The three arguments for this command are the same as the last three arguments of the command ::doctools::cvs::scanLog. This com-
mand however expects them to be filled with information about one or more logs. It takes this information and converts it into a
text in the format of a ChangeLog as accepted and generated by emacs. The constructed text is returned as the result of the command.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category doctools
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
SEE ALSO
http://wiki.tcl.tk/log2changelog
KEYWORDS
changelog, cvs, cvs log, emacs, log
CATEGORY
Documentation tools
COPYRIGHT
Copyright (c) 2003-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net>
doctools 1 doctools::cvs(3tcl)