Sponsored Content
Top Forums Shell Programming and Scripting Should I use PERL or Shell scripting? Post 302257770 by Diabolist on Thursday 13th of November 2008 03:51:13 AM
Old 11-13-2008
I would look into using an out of the box, open source tool to get what you need done. The online docs leave a lot to be desired, but OSSEC is a really powerful tool for log parsing (Welcome to the Home of OSSEC), and it's free.

No need to reinvent the wheel.

And for what you're doing, it's not enough just to grep through a log. You need to keep track of what you already processed so you're not spamming the same alert every time your script runs.

Security ecompasses so much more than poking through a log.

Good luck.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

2. Shell Programming and Scripting

Comp-3 conversion possible with Shell Scripting or PERL?

I guess the subject asks it all, but I am wondering (before I go and code a COBOL module) if conversion of regular ASCII data to COMP-3 is possible on a UNIX environment (AIX 5.1)? Any help would be appreciated! Thanks, Dave (13 Replies)
Discussion started by: dfran1972
13 Replies

3. Shell Programming and Scripting

Comparison of two files which contains strings using Shell scripting or PERL

Hi, I need sample code to compare the two files line by line which contains text strings and to print the difference in the third file. Thanks in advance (1 Reply)
Discussion started by: sudhakaryadav
1 Replies

4. Shell Programming and Scripting

Call Shell scripting from Perl Scripting.

Hi How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies

5. Shell Programming and Scripting

Linux/Unix shell scripting vs Perl

Hi, I have general question: i have good working Perl script with .pl extension, and now I have to migrate all to another Linux box, and I was told that I can use only shell scripting, so I'm not sure how different those two things are, will it work without any changes . Is there anything smart I... (6 Replies)
Discussion started by: trento17
6 Replies

6. What is on Your Mind?

Shell scripting vs Perl scripting

Hi all, I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first. Can you please help me determine which one to... (14 Replies)
Discussion started by: Pouchie1
14 Replies

7. Shell Programming and Scripting

Conversion from Perl to Shell scripting

Hai ! I am doing a research on Bioinformatics and a part of the code in perl have to be converted to shell scripting. I am new to shell programming. Pls. kindly help me to convert this code to shell script though it is somewhat lengthy. PLS KINDLY HELP ME. THANKS IN ADVANCE. my @FreeEnergy =... (1 Reply)
Discussion started by: kswapnadevi
1 Replies

8. What is on Your Mind?

Shell Scripting vs Perl scripting

Gents, I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Discussion started by: Pouchie1
2 Replies

9. Web Development

Perl scripting or shell scripting?

i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

10. Shell Programming and Scripting

Converting shell to Perl I run into shell built in function trap and need alternative in Perl

I am working on converting shell to Perl script. In shell we have built in function trap Do you know alternative in Perl or actually we don't need it? Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies
STATCVS(1)						      General Commands Manual							STATCVS(1)

NAME
statcvs - CVS Repository statistic analysis tool, written in Java SYNOPSIS
cvs log > cvs-logfile.log statcvs [ options ] path/to/cvs-logfile.log path/to/checkout DESCRIPTION
This manual page documents briefly the statcvs command. This manual page was written for the Debian distribution because the original pro- gram does not have a manual page. statcvs is a program that retrieves information from a CVS repository and generates various tables and charts describing the project devel- opment, e.g. timeline for the lines of code, contribution of each developer etc. The current version of StatCvs generates a static suite of HTML documents containing tables and chart images. StatCvs is opens source software, released under the terms oft the LGPL. StatCvs uses JFreeChart to generate charts. cvs-logfile.log path to the cvs logfile of the module. Important note: statcvs will fail if the log file was not produced with cvs from within the checkout. It however does not matter if the file is not in the directory you're running statcvs from. path/to/checkout path to the directory of the checked out module OPTIONS
These programs follow the usual command line syntax, with long options starting with one dashe ("-"). A list of options is included below. For a complete description, run the program without parameters -version print the version information and exit -output-dir <dir> directory where HTML suite will be saved -include <pattern> include only files matching pattern, e.g. **/*.c;**/*.h -exclude <pattern> exclude matching files, e.g. tests/**;docs/** -title <title> Project title to be used in reports -viewcvs <url> integrate with ViewCVS installation at <url> -verbose print extra progress information JAVA-WRAPPERS NOTE This program is a shell script wrapper based on java-wrappers(7). You therefore benefit from several features; please see the java-wrap- pers(7) manual page. SEE ALSO
cvs(1) and java-wrappers(7) AUTHOR
This manual page was written by Christian Bayle <bayle@debian.org>, for the Debian project (but may be used by others). juillet 20, 2003 STATCVS(1)
All times are GMT -4. The time now is 06:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy