Have been asked to remove all images from being logged to the access_log ... where am I going wrong?<VirtualHost 123.456.789.99>
ServerName www.somedomain.com.au
DocumentRoot /agents/tts
Redirect /wap http://somewap.com.au/traveler
LogFormat "%v %h %l %u %t \"%r\" %>s %b" comonvhost... (2 Replies)
Hi All, I'm fairly new to Regular Expressions, and have made some decent progress, but this one has me scratching my head. I'm trying to match the class name in my scripts as shown in the examples below. Any ideas?
Thanks!
-Mark
:: Looking for a regex to match the red text ::
import... (7 Replies)
I have a CSV file that I am trying to parse with awk in a table. I think I am going about this the wrong way. I can't get the awk arrays to output with a tab between them in one line. They print out vertically and I need them to print out horizontally. WHAT AM I DOING WRONG?? I want to know if... (21 Replies)
Hi,
I'm pretty new to UNIX shell scripting and need some help. We have an Informatica interface that dumps any files that have errors into a directory. I need to check that directory for any of up to 9 files that might be in it and run a specific process for each file found.
Here's what I... (3 Replies)
how to use sed command to find and replace a directory
i have a file.. which contains lot of paths ...
for eg.. file contains..
/usr/kk/rr/12345/1
/usr/kk/rr/12345/2
/usr/kk/rr/12345/3
/usr/kk/rr/12345/4
/usr/kk/rr/12345/5
/usr/kk/rr/12345/6
/usr/kk/rr/12345/7... (1 Reply)
Hello,
I like to begin with :wall:.. literally... It has been 4 days and I have no idea how to fix it.
Environment - AIX 5.3
I wrote a script to call on ssh to log into another box via PKA to do something else.
If I run the script on the terminal, it works 100%. If the SAP customised... (11 Replies)
I'm trying to replace path which is part of variable inside script file:
FROM:
ABC_HOME=$ABC_ROOT/abc/1.0
TO:
ABC_HOME=$ABC_ROOT/abc/1.5
I'm using this:
perl -pi -e 's\ABC_HOME=$ABC_ROOT/abc/1.0\ABC_HOME=$ABC_ROOT/abc/1.5\g' /apps/scripts/test.sh
This command is not working because... (2 Replies)
I need a bit of explanation:
LogFile=${LOGS_DIR}/${1}_$$
I know:
- LOGS_DIR is an environment variable
- $$ is the PID
... but what is ${1} ?? Is it another method to access a command line variable, or the job name?
Thanks!
Jon (3 Replies)
Hi
I know sed and awk has options to give range of line numbers, but
I need to replace pattern in specific lines
Something like
sed -e '1s,14s,26s/pattern/new pattern/' file name
Can somebody help me in this....
I am fine with see/awk/perl
Thank you in advance (9 Replies)
Hi,
I want to search for a specific word in file and replace whole line with new text.
e.g.
1) I have file with below lines
APP=ABCD 12/12/2012
DB=DDB 01/01/2013
I need perl command which will check for APP=$VAL and replace whole line with APP=$NEWVAL $NEWDT
Simlarly need a... (2 Replies)
Discussion started by: mgpatil31
2 Replies
LEARN ABOUT DEBIAN
text::sass::functions
Text::Sass::Functions(3pm) User Contributed Perl Documentation Text::Sass::Functions(3pm)NAME
Text::Sass::Functions
VERSION
$LastChangedRevision: 59 $
SYNOPSIS DESCRIPTION SUBROUTINES /METHODS
new
Creates a new object.
rgb(red, green, blue)
Converts triplet into a color.
red(color)
Returns the red part of a color.
green(color)
Returns the green part of a color.
blue(color)
Returns the blue part og a color.
mix(color1, color2, weight = 50%)
Mixes two colors together.
hsl(hue, saturation, lightness)
Converts as hsl triplet into a color.
hue(color)
Returns the hue part of a color.
saturation(color)
Returns the saturation part of a color.
lightness(color)
Returns the lightness part of a color.
adjust_hue(color)
Changes the hue of a color, can be called as adjust-hue.
lighten(color, amount)
Makes a color lighter.
darken(color, amount)
Makes a color darker.
saturate(color, amount)
Makes a color more saturated.
desaturate(color, amount)
Makes a color less saturated.
grayscale(color)
Converts a color to grayscale.
complement(color)
Returns the complement of a color.
unquote(str)
Removes the quotes from a string.
quote(str)
Adds quotes to a string.
percentage(num)
Converts a unitless number to a percentage.
round(num)
Rounds a number to the nearest whole number.
ceil(num)
Rounds a number up to the nearest whole number.
floor(num)
Rounds a number down to the nearest whole number.
abs(num)
Returns the absolute value of a number.
unit(num)
Returns the unit of a value.
unitless(num)
Returns true if the number has no unit.
DIAGNOSTICS CONFIGURATION AND ENVIRONMENT DEPENDENCIES
strict
warnings
Carp
POSIX
Readonly
Convert::Color
Text::Sass::Expr
INCOMPATIBILITIES BUGS AND LIMITATIONS
Missing alpha routines rgba & hsla methods.
mix() doesn't support weight.
AUTHOR
Author: BjA~Xrn-Olav Strand
LICENSE AND COPYRIGHT
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.10 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-04-05 Text::Sass::Functions(3pm)