10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I want to parse below file and Write a function to extract the logs between two given timestamp.
Apache (Unix) Log Samples - MonitorWare
The challenge here is there are three date and time format.
First :- 07/Mar/2004:16:05:49
Second :- Sun Mar 7 16:02:00 2004
Third :- 29-Mar... (6 Replies)
Discussion started by: sahil_shine
6 Replies
2. Shell Programming and Scripting
what is the sed command line to add a line to a config file
config file name is "config"
line to be added
cpuid.7.edx = "----:00--:----:----:----:----:----:----"
thanks (4 Replies)
Discussion started by: tdubb123
4 Replies
3. Red Hat
Hi folks,
I am trying to configure Apache webserver and also a virtual host inside this webserver.
For Global server config: /var/www/html/index.html
For virtual host config: /var/www/virtual/index.html
Both client10 & www10 are pointing to 192.168.122.10 IP address.
BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies
4. Shell Programming and Scripting
I have a script with few pre defined variables.
Also have a config file. Something like this.
# config file
# Define Oracle User
MOD1_TAG=abcde
MOD2_TAG=xyzabc
MOD3_TAG=def
I need to parse the config file and have each of the value copied to different variables.
Please suggest what... (1 Reply)
Discussion started by: souryadipta
1 Replies
5. Shell Programming and Scripting
Hi,
I have a config file that has blank, commented lines. I need to escape commented lines, blank lines, parse the remaining lines and store them in variables or array.
the config file contains the following lines.
# config file
# Define Oracle User
ORA_USER=abcde
ORA_PASS=xyzabc... (8 Replies)
Discussion started by: Lakshmi Chowdam
8 Replies
6. Shell Programming and Scripting
Hi,
I need an awk command that would parse the below expression
Input Format
1 'Stmt1 ............................'2 'Stmt2 ............................'3 'Stmt3 ............................'4 'Stmt4 ............................'5 'Stmt5 ............................'6 'Stmt6... (1 Reply)
Discussion started by: rajan_san
1 Replies
7. Shell Programming and Scripting
Sorry for the duplicate thread this one is similar to the one in
https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121
Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to replace paths with \ (as in NT) with / (as in Unix) in a script using sed. Following is the command I use:
sed "s/e:\Kenny_test\csv_files/var/opt/ciw/data/outbound/g" EMEA4710.SQL > test
the string to replace is e:\Kenny_test\csv_files
the target string needs to... (3 Replies)
Discussion started by: Abhidey
3 Replies
9. Shell Programming and Scripting
How do i use a config.txt to recursively pass a set of variables to a shell script
eg my config.txt looks like this :
path=c://dataset/set1
v1= a.bin
v2= b.bin
path=c://dataset/set2
v1= xy.bin
v2= abc.bin
..................
and so on .
and my testscript : (2 Replies)
Discussion started by: pradsh
2 Replies
10. UNIX for Dummies Questions & Answers
I need help doing two things in my Apache Config....
1) Creating a Referer log where only domains other than my own (or a list I specify) are logged
...and...
2) I want to replace images loaded from my site, on other sites, it a standard RED "stolen" image. I currently have code in place... (2 Replies)
Discussion started by: l008com
2 Replies
Bundle::Apache::ASP::Extra(3pm) User Contributed Perl Documentation Bundle::Apache::ASP::Extra(3pm)
NAME
Bundle::Apache::ASP::Extra - Install modules that provide additional functionality to Apache::ASP
SYNOPSIS
perl -MCPAN -e 'install Bundle::Apache::ASP::Extra'
CONTENTS
Bundle::Apache::ASP - Base for Apache::ASP installation
CGI - Required for file upload, make test, and command line ./cgi/asp script
HTML::Parser - Required for HTML::FillInForm
HTML::Clean - Compress text/html with Clean config or $Response->{Clean} set to 1-9
Net::SMTP - Runtime errors can be mailed to the webmaster with MailErrorTo config
Devel::Symdump - Used for StatINC setting, which reloads modules dynamically
Apache::DBI - Cache database connections per process
Compress::Zlib - Gzip compress HTML output on the fly
Time::HiRes - Sub second timing of execution with Debug 3 or -3 enabled
HTML::FillInForm - FormFill functionality which autofills HTML forms from form data
Apache::Filter - Required for SSI filtering with Apache::SSI
HTML::SimpleParse - Required for SSI filtering with Apache::SSI
Apache::SSI - Required for full server side includes support ( SSI ) beyond file includes
Tie::TextDir - Fast file based cache for CacheDB, good for caching large values for things like XSLT and $Response->Include() caching
Bundle::XML - Required for XML::XSLT support.
XML::XSLT - Required for XSLT support. May also use XML::Sablotron and XML::LibXSLT for this, which are not part of this bundle.
DESCRIPTION
This bundle contains extra modules used by Apache::ASP.
AUTHOR
Joshua Chamas
perl v5.14.2 2011-08-15 Bundle::Apache::ASP::Extra(3pm)