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
CVS-AUTORELEASEDEB(1) User Contributed Perl Documentation CVS-AUTORELEASEDEB(1)
NAME
cvs-autoreleasedeb - Automatic Release of debian packages from CVS
DESCRIPTION
This script generates and uploads the debian package for cvs modules managed by cvs-buildpackage.
cvs-autoreleasedeb will maintain a state file of all the packages you want to be automatically published, and every time you commit the
debian/changelog file of your package, changing the debian version to a greater value, it will be published.
All the parameters to the script are configured in the conffile. There is no command-line switch. See cvs-autoreleasedeb.conf(5) for more
information.
USING
There are two ways of using this script:
1) Run as user cvs-autoreleasedeb in cron. This is very useful for software houses that want to have the "nightily build" version of the
software published automatically. In this case, the config file will be "/etc/cvs-autoreleasedeb.conf" and it will use
/var/lib/cvs-autoreleasedeb/ as scratch dir.
NOTE: edit /etc/default/cvs-autoreleasedeb to control this behavior
NOTE 2: all output will be thrown in /var/log/cvs-autoreleasedeb/run.log
2) Run as yourself, it will automatizate the work you will have if you have your packages in CVS. In this case, the config file will be
$HOME/.cvs-autoreleasedeb/conf and the scratch dir will be $HOME/.cvs-autoreleasedeb. cvs-autoreleasedeb will not create defaults, you
must have the configuration file created before running cvs-autoreleasedeb. See cvs-autoreleasedeb.conf(5).
TODO
- Use a snapshot of the time of the commit in
the changelog to checkout the source
- Localize the messages.
- Work with other than all lowercase in conffile.
- Use a better format for conffile.
_EXIT CODES
_exit codes:
0 = Clean _exit
1 = Config file not found
2 = No packages in config file
3 = Couldn't open the state file
4 = Couldn't open the state file for writing
5 = Couldn't determine architecture
SEE ALSO
cvs-buildpackage(1), cvs(1), cvs-autoreleasedeb.conf(5), dupload(1)
AUTHOR
This manual page was written by Daniel Ruoso <daniel@ruoso.com>, for the Debian GNU/Linux system.
perl v5.8.7 2006-08-04 CVS-AUTORELEASEDEB(1)