06-20-2014
Erm, which is it that is correct?
Quote:
From NSPHOME=some_value to NSPMHOME=$SOMETHING/test
Is it
NSPHOME or
NSPMHOME ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All.
I need help for the below logic.
I ve a file like following
input file:
NopTX(5) // should be remain same as input
----Nop(@100); //1
Nop(90); //2
--Nop(80); //3
@Nop(70); //4
--@Nop(60); //5
@Nop@(@50); //6
--Nop@( 40); ... (3 Replies)
Discussion started by: user_prady
3 Replies
2. Shell Programming and Scripting
Hi all,
How to print variable value which i have assigned inside for loop
because that variable scope is local, but i want to use that variable outside for loop.
Awaiting your great help
Thanks,
Susil (1 Reply)
Discussion started by: susilgandhi
1 Replies
3. Shell Programming and Scripting
I am trying to assgn the output of the select statement to a variable, like this
"VARIABLE_NAME=$ db2 "select COLUMN_NAME_1 from TABLE_NAME where COLUMN_NAME_2='VALUE_TO_CHECK'"; "
but the value that is getting into VARIABLE_NAME is
"COLUMN_NAME_1
-----------------
VALUE
1... (3 Replies)
Discussion started by: sgmini
3 Replies
4. Shell Programming and Scripting
I have shell script which will try to login to SQL Plus and retrieve some data, based on the outcome i will proceed further
Below is the content of the file
pebblz02% cat test1.ksh
#! /bin/ksh
dummyvar=`sqlplus -S csm_admin/csm_admin@SIDNAME <<EOF echo hi; exit; EOF`
Error message on... (0 Replies)
Discussion started by: kiranlalka
0 Replies
5. Shell Programming and Scripting
Hi,
Output of "ps -o etime,time,pcpu,pmem,fname -C sbd-java"
command is -
Elapsed Time %cpu %MEM COMMAND
02:14:03 00:03:28 2.5 6.3 sbd-java
Can anyone tell me, how to store the the value 2.5 in a variable?
When I say echo $X where x is a variable then... (4 Replies)
Discussion started by: pspriyanka
4 Replies
6. Shell Programming and Scripting
Hi,
I have a file with below contents,
ssenthil = rw
anilkg = rw
I want to search for "ssenthil" and need to delete line 1 and 2 , if the third line starts with "" respectively and blank line immediately and third line starts with "
anilkg = rw
Please help me .
Great day... (5 Replies)
Discussion started by: anil8103
5 Replies
7. Shell Programming and Scripting
I am using a variable called $variable in a pattern search to print from a starting variable to a constant value. the variable search should be case in sensitive.
i tired using Ip at the end in the below command. but in ksh it is not working.
sed -n "/$variable/,/constant/p" file
i also... (11 Replies)
Discussion started by: johnjs
11 Replies
8. Shell Programming and Scripting
Dear Friends,
If i give the command echo $- i am getting output of himBH. Can some body explain what does it means
echo $-
himBH
Thanks in Advance
Rajkumar (2 Replies)
Discussion started by: rajkumarin
2 Replies
9. Shell Programming and Scripting
Hi,
I have an inputfile with some table names in it.
For ex:
t_arnge
t_profl
t_fac
I need a script which reads the line one by one and need to assign to some dynamic variable. If to explain the above example:
i need some
a=table_name1
table_name1=t_arnge in first time and... (4 Replies)
Discussion started by: Ravindra Swan
4 Replies
10. HP-UX
Can anyone help me in solving this ?
p=`date`
e=`echo $p | awk '{print $2,$3}'`
# echo $p
Wed Aug 4 12:00:08 IST 2013
but when I am echoing the value of e it is giving me with one space. As shown below:
# echo $e
Aug 4
I need this value to be exact as found in... (6 Replies)
Discussion started by: Kits
6 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)