10-02-2019
Hi,
Thanks for the detailed explanation, such things are always worth while for mw.
Regards
Gull04
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
can any please tell me
is it possible to catch the signal in a shell script like we do in C.
if yes please give me some idea or a link. (4 Replies)
Discussion started by: Raom
4 Replies
2. Shell Programming and Scripting
Hi
! /bin/sh
set logdir1 "logDir/local/logname"
#write the filename into a file
echo $logdir1 >> logname.txt
how do i exec the above echo command (1 Reply)
Discussion started by: nathgopi214
1 Replies
3. Shell Programming and Scripting
Hi there,
I have a wapper script which passes the argument from command prompt to inner script.. It works fine as long as the argument containing single word. But when value contains multiple word with space, not working as expected. I tried my best, couldn't find the reason. Gurus, pls.... (2 Replies)
Discussion started by: kans
2 Replies
4. Shell Programming and Scripting
Hi,
I am trying to write a script to cleanup files in a log directory ..
cd log
find Datk** -mtime +7 -exec rm -f {} \; 2> /dev/null
Have used the above to clean up files in log directory more then 7 days older.
The file can be something like ( auto-generate by some processes and... (2 Replies)
Discussion started by: nss280
2 Replies
5. Shell Programming and Scripting
Hi,
I have a script output.sh which produces the following output (as an example):
"abc def" "ghi jkl"
This output should be handled from script input.sh as input and the quotes should be treated as variable delimiters but not as regular characters.
input.sh (processing positional... (2 Replies)
Discussion started by: stresing
2 Replies
6. Shell Programming and Scripting
Hi i have written a shell script that takes only single ip address from the user and calculates its latency and reliability, can you please tell me that what should be done if i want that user should enter 100 or 1000 ip address (5 Replies)
Discussion started by: Preeti_17
5 Replies
7. Shell Programming and Scripting
Hi All,
I am new to this forum and also shell script :)
My task is I have to read CSV file get the data from the file and use the data to call c executable with data as argument.And the output from c executable should be stored to new CSV file
Please find below my code
testfunction() {... (14 Replies)
Discussion started by: ravjot28
14 Replies
8. Shell Programming and Scripting
Hi,
I want to change a file file1.txt:
1234
3456
2345
6789
3456
2333
4444
As, file2.txt in Linux:
'1234','3456','2345','6789','3456','2333','4444'
Could someone please help me. (Single liner sed, awk will be welcome!) (7 Replies)
Discussion started by: wiweq05
7 Replies
9. 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
10. Shell Programming and Scripting
Hi all,
i am new to this forum, unix and shell scripting.
I would really appreciate if you all can help me here..
I have files coming in the below format
'filename20513'13May06:03:45
filename are characters..
like 'ABDDUT20513'13May06:03:45
i need it to be renamed as... (17 Replies)
Discussion started by: khman
17 Replies
LEARN ABOUT PHP
cairooperator
CAIROOPERATOR(3) 1 CAIROOPERATOR(3)
The CairoOperator class
INTRODUCTION
This is used to set the compositing operator for all cairo drawing operations.
The default operator is CairoOperator::OVER
The operators marked as unbounded modify their destination even outside of the mask layer (that is, their effect is not bound by the mask
layer). However, their effect can still be limited by way of clipping.
To keep things simple, the operator descriptions here document the behavior for when both source and destination are either fully trans-
parent or fully opaque. The actual implementation works for translucent layers too. For a more detailed explanation of the effects of each
operator, including the mathematical definitions, see http://cairographics.org/operators/.
CLASS SYNOPSIS
CairoOperator
CairoOperator
Constants
o const integer$CairoOperator::CLEAR0
o const integer$CairoOperator::SOURCE1
o const integer$CairoOperator::OVER2
o const integer$CairoOperator::IN3
o const integer$CairoOperator::OUT4
o const integer$CairoOperator::ATOP5
o const integer$CairoOperator::DEST6
o const integer$CairoOperator::DEST_OVER7
o const integer$CairoOperator::DEST_IN8
o const integer$CairoOperator::DEST_OUT9
o const integer$CairoOperator::DEST_ATOP10
o const integer$CairoOperator::XOR11
o const integer$CairoOperator::ADD12
o const integer$CairoOperator::SATURATE13
PREDEFINED CONSTANTS
o CairoOperator::CLEAR -Clear destination layer (bounded)
o CairoOperator::SOURCE -Replace destination layer (bounded)
o CairoOperator::OVER -Draw source layer on top of destination layer (bounded)
o CairoOperator::IN -Draw source where there was destination content (unbounded)
o CairoOperator::OUT -Draw source where there was no destination content (unbounded)
o CairoOperator::ATOP -Draw source on top of destination content and only there
o CairoOperator::DEST -Ignore the source
o CairoOperator::DEST_OVER -Draw destination on top of source
o CairoOperator::DEST_IN -Leave destination only where there was source content (unbounded)
o CairoOperator::DEST_OUT -Leave destination only where there was no source content
o CairoOperator::DEST_ATOP -Leave destination on top of source content and only there (unbounded)
o CairoOperator::XOR -Source and destination are shown where there is only one of them
o CairoOperator::ADD -Source and destination layers are accumulated
o CairoOperator::SATURATE -Like CairoOperator::OVER, but assuming source and dest are disjoint geometries
PHP Documentation Group CAIROOPERATOR(3)