10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Froum.
I have tried in vain to find a solution for this problem - I'm trying to replace any double quotes within a quoted string with a single quote, leaving everything else as is.
I have the following data:
Before:
... (32 Replies)
Discussion started by: pchang
32 Replies
2. Shell Programming and Scripting
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies
3. Shell Programming and Scripting
I have a csv data file :
A,B,C,D,"A,B",E,"GG,H"
E,F,G,H,I,J,"S,P"
I need to replace all "," with "|" except the ones between double quotes i.e
A|B|C|D|"A,B"|E|"GG,H"
E|F|G|H|I|J|"S,P"
CAn someone assist? (8 Replies)
Discussion started by: Shivdatta
8 Replies
4. Shell Programming and Scripting
Hi.
I will be very appreciated for help.
I need replace all characters into string with \ (backslash)
I mean if I have word abcdefg as input.
How I can convert it to \a\b\c\d\e\f\g
Thanks and best regards. Staas. (5 Replies)
Discussion started by: beckss
5 Replies
5. Shell Programming and Scripting
Hi
I got this:
aix.acct,aix.system.config.cron,aix.system.config.src,aix.system.install,string2
and
I want this:
aix.acct
system.config.cron
aix.system.config.src
aix.system.install
string2
I tried using sed by changing ',' into an 'ENTER' but I couldn't. :-(
thxs (2 Replies)
Discussion started by: iga3725
2 Replies
6. Shell Programming and Scripting
Hi Guys,
is there any command to convert the output returned by the below command to string format:
Code:
sed 1!d filename
Output is :
108
---------- Post updated at 11:03 AM ---------- Previous update was at 11:00 AM ----------
Because i am using this output as string parameter ... (4 Replies)
Discussion started by: kam786sim
4 Replies
7. Shell Programming and Scripting
Hi All,
I have a string like below.
"Mar 31 2009" .
I want to convert this to unix time .
Also please let me know how to find the unix time for the above string minus one day. For Eg. if i have string "Mar 31 2009" i want to find the unix time stamp of "Mar 30 2009".
Thanks in advance,... (11 Replies)
Discussion started by: girish.raos
11 Replies
8. Shell Programming and Scripting
Hi
I have a line/string as follows:
A=" 3498 NORDEA - INDX LINKED NORY"
which was converted into an array of characters:
p321$ echo "${ARR}"
3 4 9 8 N O R D E A - I N D X L I N K E D N O R Y
When I am trying print this array there are blank... (4 Replies)
Discussion started by: aoussenko
4 Replies
9. Shell Programming and Scripting
Hi people,
I need to convert a string eg 09/13/2008 to a valid unix date. (4 Replies)
Discussion started by: sameerspice
4 Replies
10. Shell Programming and Scripting
Hi,
I have a String input parameter like this: 20080430 (YYYYMMDD). Inside
my korn shell script I need to add one day to this date.
L_TRADE_DAY=$1
let L_TODAY=$L_TRADE_DAY+1
Offcourse this raises a problem at the end of a month. 20080430 + 1 gives 20080431 instead of 20080501.
... (2 Replies)
Discussion started by: ORatjeuh
2 Replies
GMAGICKDRAW(3) 1 GMAGICKDRAW(3)
The GmagickDraw class
INTRODUCTION
CLASS SYNOPSIS
GmagickDraw
GmagickDraw
Methods
o public GmagickDraw GmagickDraw::annotate (float $x, float $y, string $text)
o public GmagickDraw GmagickDraw::arc (float $sx, float $sy, float $ex, float $ey, float $sd, float $ed)
o public GmagickDraw GmagickDraw::bezier (array $coordinate_array)
o public GmagickDraw GmagickDraw::ellipse (float $ox, float $oy, float $rx, float $ry, float $start, float $end)
o public void GmagickDraw::getfillcolor (void )
o public float GmagickDraw::getfillopacity (void )
o public string GmagickDraw::getfont (void )
o public float GmagickDraw::getfontsize (void )
o public int GmagickDraw::getfontstyle (void )
o public int GmagickDraw::getfontweight (void )
o public void GmagickDraw::getstrokecolor (void )
o public float GmagickDraw::getstrokeopacity (void )
o public float GmagickDraw::getstrokewidth (void )
o public int GmagickDraw::gettextdecoration (void )
o public string GmagickDraw::gettextencoding (void )
o public GmagickDraw GmagickDraw::line (float $sx, float $sy, float $ex, float $ey)
o public GmagickDraw GmagickDraw::point (float $x, float $y)
o public GmagickDraw GmagickDraw::polygon (array $coordinates)
o public GmagickDraw GmagickDraw::polyline (array $coordinate_array)
o public GmagickDraw GmagickDraw::rectangle (float $x1, float $y1, float $x2, float $y2)
o public GmagickDraw GmagickDraw::rotate (float $degrees)
o public GmagickDraw GmagickDraw::roundrectangle (float $x1, float $y1, float $x2, float $y2, float $rx, float $ry)
o public GmagickDraw GmagickDraw::scale (float $x, float $y)
o public GmagickDraw GmagickDraw::setfillcolor (string $color)
o public GmagickDraw GmagickDraw::setfillopacity (float $fill_opacity)
o public GmagickDraw GmagickDraw::setfont (string $font)
o public GmagickDraw GmagickDraw::setfontsize (float $pointsize)
o public GmagickDraw GmagickDraw::setfontstyle (int $style)
o public GmagickDraw GmagickDraw::setfontweight (int $weight)
o public GmagickDraw GmagickDraw::setstrokecolor (GmagickPixel $color)
o public GmagickDraw GmagickDraw::setstrokeopacity (float $stroke_opacity)
o public GmagickDraw GmagickDraw::setstrokewidth (float $width)
o public GmagickDraw GmagickDraw::settextdecoration (int $decoration)
o public GmagickDraw GmagickDraw::settextencoding (string $encoding)
PHP Documentation Group GMAGICKDRAW(3)