04-12-2010
Operators
I really don't know the meaning of these operators. Could someone explain the meanings?
<, <=, ==, !=, >=, >,
||, &&, ! ~ , !~
Thanks!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have a list of 'inputs' and i want to convert those on the second list named 'Desired Outputs', but i don't know how to do it?
Inputs Desired Outputs
1 2
94 4
276 8
369 10
464 12 ... (0 Replies)
Discussion started by: filda
0 Replies
2. UNIX for Dummies Questions & Answers
I am trying to understand
Does the following:
{tmp+=$10}
Mean take $10 and add them all up and call it tmp
thanks! (2 Replies)
Discussion started by: llsmr777
2 Replies
3. Shell Programming and Scripting
Hi All,
I have 2 variables. Result1 and Result2. I want to put a condition that if Both are True then echo "All True" Else Show Error.
Right now i am doing this and getting error.
if ;
then
echo "All True"
else
echo "Failed"
fi;
Error.
line 8: '
Solution: Looking for (2 Replies)
Discussion started by: mkashif
2 Replies
4. Shell Programming and Scripting
I really don't know the meaning of these operators. Could someone explain the meanings so I can make my test for today?
<, <=, ==, !=, >=, >,
||, &&, ! ~ , !~
Thanks! (1 Reply)
Discussion started by: Erjen
1 Replies
5. Shell Programming and Scripting
Hi everyone,
I read some shell script code,then I have some issue.
the following code.
let "t1 = ((5 + 3, 7 - 1, 15 - 4))"
echo "t1 = $t1"
t1=11
Here t1 is set to the result of the last operation.why? (3 Replies)
Discussion started by: luoluo
3 Replies
6. Shell Programming and Scripting
Hi
Lets say I have two arrays:
VAR_1 = "File_A" "File_B" "File_C" "File_D"
VAR_2 = "File_A" "File_D"
Is there a simple command to get the difference of these list, i.e.
VAR_1_2 = "File_B" "File_C"
or do I have to write a script and loop through all elements and compare them one by one?
... (1 Reply)
Discussion started by: Wernfried
1 Replies
7. Shell Programming and Scripting
Hi all,
I have a variable which is having the value like below,
$ echo ${p}
8 15 22 30
$
My requirement is that the variable should return true when it contains only one number like below,
$ echo ${p}
15
$
Otherwise, it should return false if it contains more than one number.
I... (4 Replies)
Discussion started by: raghu.iv85
4 Replies
8. Programming
Hey everyone, I'm really getting into learning C, but as I look at more advanced example code, I see things like
if (!*variable1)
blah blah blah...
and
variable2 ^= *(variable1++);
my question is, when you have a combination of two operators, like !*. The ! means 'not' and the *... (2 Replies)
Discussion started by: Lost in Cyberia
2 Replies
9. UNIX for Beginners Questions & Answers
I do not know the use of the -o -v -R operators.
This is what the info says and I am confused of what optname and varname
mean, are they just normal variable?
-o optname
True if the shell option optname is enabled. See the list of
options under the ... (6 Replies)
Discussion started by: kristinu
6 Replies
LEARN ABOUT SUSE
create_operator_family
CREATE OPERATOR
FAMILY(7) SQL Commands CREATE OPERATOR FAMILY(7)
NAME
CREATE OPERATOR FAMILY - define a new operator family
SYNOPSIS
CREATE OPERATOR FAMILY name USING index_method
DESCRIPTION
CREATE OPERATOR FAMILY creates a new operator family. An operator family defines a collection of related operator classes, and perhaps
some additional operators and support functions that are compatible with these operator classes but not essential for the functioning of
any individual index. (Operators and functions that are essential to indexes should be grouped within the relevant operator class, rather
than being ``loose'' in the operator family. Typically, single-data-type operators are bound to operator classes, while cross-data-type
operators can be loose in an operator family containing operator classes for both data types.)
The new operator family is initially empty. It should be populated by issuing subsequent CREATE OPERATOR CLASS commands to add contained
operator classes, and optionally ALTER OPERATOR FAMILY commands to add ``loose'' operators and their corresponding support functions.
If a schema name is given then the operator family is created in the specified schema. Otherwise it is created in the current schema. Two
operator families in the same schema can have the same name only if they are for different index methods.
The user who defines an operator family becomes its owner. Presently, the creating user must be a superuser. (This restriction is made
because an erroneous operator family definition could confuse or even crash the server.)
Refer to in the documentation for further information.
PARAMETERS
name The name of the operator family to be created. The name can be schema-qualified.
index_method
The name of the index method this operator family is for.
COMPATIBILITY
CREATE OPERATOR FAMILY is a PostgreSQL extension. There is no CREATE OPERATOR FAMILY statement in the SQL standard.
SEE ALSO
ALTER OPERATOR FAMILY [alter_operator_family(7)], DROP OPERATOR FAMILY [drop_operator_family(7)], CREATE OPERATOR CLASS [create_opera-
tor_class(7)], ALTER OPERATOR CLASS [alter_operator_class(7)], DROP OPERATOR CLASS [drop_operator_class(7)]
SQL - Language Statements 2010-05-14 CREATE OPERATOR FAMILY(7)