9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have several problems with my problems: I hope you can help me.
1) the If else statement I am getting an error message. My syntax must be incorrect because the entire statement is throwing an error.
For example in filew.log if these items don't exist Memsize, SASFoundation and also if... (0 Replies)
Discussion started by: dellanicholson
0 Replies
2. UNIX for Dummies Questions & Answers
Hi Guys,
I like to output every command executed in the script to a file.
I have tried set -x which does the same.
But it is not giving the logs of the child script which is being called from my script.
Is there any parameters in the Set command or someother way where i can see the log... (2 Replies)
Discussion started by: mac4rfree
2 Replies
3. Shell Programming and Scripting
I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help
File:
<xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies
4. Shell Programming and Scripting
Hi
I am trying to extract data from within a log file and output format to a new file for further manipulation can someone provide script to do this?
For example I have a file as below and just want to extract all delimited variances of tag 32=* up to the delimiter "|" and output to a new file... (2 Replies)
Discussion started by: Buddyluv
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have deleted a file and commited in CVS.
So, is there any CVS command to revert back that deleted file with existing log messages.
--Thanks in advance
Madhu (1 Reply)
Discussion started by: madhuti
1 Replies
6. Programming
Am currently working on CVS projects .. I have generated the cvs log file which is in the RCS file format . .I want to extract file path ,total revision ,date ,author and message from that file . .I want a program in java which would extract the data from cvs log file. .Pls help me out..
My... (0 Replies)
Discussion started by: EVERSOFT
0 Replies
7. Shell Programming and Scripting
Hi
can anyone tell me how to redirect the ouput of a cvs command to a file as well as the console?
i tried using
cvs add <filename> | tee logFile
cvs add <filename> 2>logFile 2>&1
All i could get is only on console or on file.
Please help
Thanks (2 Replies)
Discussion started by: ankitag2010
2 Replies
8. Shell Programming and Scripting
How can view log messages between two time frame from /var/log/message or any type of log files.
when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval.
Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies
9. UNIX for Advanced & Expert Users
All,
I've been working with perl scripts and shell scripts for quite some time now. I've been making code changes and submitting them into cvs.
But I've never created a new file and added it to the directory tree. I know the cvs commands to add it to the directory tree. What I don't know is... (1 Reply)
Discussion started by: rahulrathod
1 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)