03-24-2006
YES! This works!!! I tired so many combinations, I forgot to go back and use double quotes after your sugestion of using -v for each parameter.
Thank you, have a GOOD Weekend, tmarikle!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the following line of code:
sed -i "/MatchText/ s/${tgrepLine}/${tNewLine}/" filename.outputfilename.output contains this:
blablabla
PATH=".:/home/root/bin/:/usr/local/bin/"
blablablaVariable ${tgrepLine} contains:
PATH=".:/home/root/bin/:/usr/local/bin/"
Variable ${tNewLine}... (3 Replies)
Discussion started by: inspire87
3 Replies
2. Shell Programming and Scripting
In a bash script, I need to pass a parameter that has space in-between using double quotes as follows:
CMD="SomeExecutable"
# Parameter that has a space in-between
PARAM1="TIMO 2"
CMD_IN="--name=\"$PARAM1\""
CMD_OUT=`$CMD $CMD_IN`
expected/required command execution:... (4 Replies)
Discussion started by: Timo
4 Replies
3. Shell Programming and Scripting
How do I use double quotes as a record seperator in awk? (4 Replies)
Discussion started by: locoroco
4 Replies
4. Shell Programming and Scripting
Hi
I read somewhere that when using double quotes in awk; variables gets expanded else it doesn't.
So I tried to use the double quotes inside an awk statement as below:
from_instance_trans=`awk "/INPUT =\"$frm_inst\"/,/<\/TRANSFORMATION>/" $xml_object | grep -w "<TRANSFIELD" | awk... (9 Replies)
Discussion started by: dips_ag
9 Replies
5. Shell Programming and Scripting
Hi,
I have data as
"01/22/97-"aaaaaaaaaaaaaaaaa""aaa""aabbbbbbbbcccccc""zbcd""dddddddddeeeeeeeeefffffff"
I want to remove only the Consequitive double quotes and not the one which occurs single.
My O/P must be ... (2 Replies)
Discussion started by: Bhuvaneswari
2 Replies
6. UNIX for Dummies Questions & Answers
Want to populate double quotes for each filed using awk:
Input: cat file.txt => "1-23-test_test1-test2"
Required output :
"1-23-test_test1-test2"|"#GT_properties_xyz"
Was trying the below command on solaris 9 machine :
awk -F"|" '{print $1"|""#GT_properties_xyz"}' file.txt
... (8 Replies)
Discussion started by: rajachandhok
8 Replies
7. Shell Programming and Scripting
Hi All,
OS - Suse 10
ksh --version
version sh (AT&T Research) 93s+ 2008-01-31
I am passing two words within double quotes ("Application Developer") to script as variable, but script is adding two single quotes between two words like ("Application' 'Developer").
below is simple test... (4 Replies)
Discussion started by: srimitta
4 Replies
8. Shell Programming and Scripting
Hello to all,
I'm trying to match only fields surrounded by double quotes that have one or more commas inside.
The text is like this
"one, t2o",334,"tst,982-0",881,"kmk 9-l","kkd, 115-001, jj-3",5
The matches should be
"one, t2o"
"tst,982-0"
"kkd, 115-001, jj-3"
I'm trying with... (11 Replies)
Discussion started by: Ophiuchus
11 Replies
9. Shell Programming and Scripting
Hi All,
I'm unable to load the data using sql loader where there are double quotes within the double quotes As these are optionally enclosed by double quotes.
Sample Data :
"221100",138.00,"D","0019/1477","44012075","49938","49938/15043000","Television - 22" Refurbished - Airwave","Supply... (6 Replies)
Discussion started by: mlavanya
6 Replies
10. Shell Programming and Scripting
Hi ALL,
file data like :
test.csv
a,b,"c,d"
my awk version is 4.0.2 ,if i am using the below code is working fine.
awk -vFPAT='(*)|("+")' -vOFS="," '{print $3}' test.csv
if the awk version is 3.1.7 is not working . Could you please help me on this one.
output should be : "c,d" (6 Replies)
Discussion started by: bmk123
6 Replies
LEARN ABOUT REDHAT
pdl::gslsf::trig
TRIG(3) User Contributed Perl Documentation TRIG(3)
NAME
PDL::GSLSF::TRIG - PDL interface to GSL Special Functions
DESCRIPTION
This is an interface to the Special Function package present in the GNU Scientific Library.
SYNOPSIS
Functions
FUNCTIONS
gsl_sf_sin
Signature: (double x(); double [o]y(); double [o]e())
Sin(x) with GSL semantics.
gsl_sf_cos
Signature: (double x(); double [o]y(); double [o]e())
Cos(x) with GSL semantics.
gsl_sf_hypot
Signature: (double x(); double xx(); double [o]y(); double [o]e())
Hypot(x,xx) with GSL semantics.
gsl_sf_complex_sin
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Sin(z) for complex z
gsl_sf_complex_cos
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Cos(z) for complex z
gsl_sf_complex_logsin
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Log(Sin(z)) for complex z
gsl_sf_lnsinh
Signature: (double x(); double [o]y(); double [o]e())
Log(Sinh(x)) with GSL semantics.
gsl_sf_lncosh
Signature: (double x(); double [o]y(); double [o]e())
Log(Cos(x)) with GSL semantics.
gsl_sf_polar_to_rect
Signature: (double r(); double t(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Convert polar to rectlinear coordinates.
gsl_sf_rect_to_polar
Signature: (double x(); double y(); double [o]r(); double [o]t(); double [o]re(); double [o]te())
Convert rectlinear to polar coordinates. return argument in range [-pi, pi].
gsl_sf_angle_restrict_symm
Signature: (double [o]y())
Force an angle to lie in the range (-pi,pi].
gsl_sf_angle_restrict_pos
Signature: (double [o]y())
Force an angle to lie in the range [0,2 pi).
gsl_sf_sin_err
Signature: (double x(); double dx(); double [o]y(); double [o]e())
Sin(x) for quantity with an associated error.
gsl_sf_cos_err
Signature: (double x(); double dx(); double [o]y(); double [o]e())
Cos(x) for quantity with an associated error.
AUTHOR
This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it> All rights reserved. There is no warranty. You are allowed to
redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this
file is separated from the PDL distribution, the copyright notice should be included in the file.
The GSL SF modules were written by G. Jungman.
perl v5.8.0 2003-01-29 TRIG(3)