Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

precedence(7) [linux man page]

OPERATOR(7)						     Linux Programmer's Manual						       OPERATOR(7)

NAME
operator - C operator precedence and order of evaluation DESCRIPTION
This manual page lists C operators and their precedence in evaluation. Operator Associativity () [] -> . left to right ! ~ ++ -- + - (type) * & sizeof right to left * / % left to right + - left to right << >> left to right < <= > >= left to right == != left to right & left to right ^ left to right | left to right && left to right || left to right ?: right to left = += -= *= /= %= <<= >>= &= ^= |= right to left , left to right Linux 2011-09-09 OPERATOR(7)

Check Out this Related Man Page

DROP 
OPERATOR(7) SQL Commands DROP OPERATOR(7) NAME
DROP OPERATOR - remove a user-defined operator SYNOPSIS
DROP OPERATOR id ( lefttype | NONE , righttype | NONE ) [ CASCADE | RESTRICT ] INPUTS id The identifier (optionally schema-qualified) of an existing operator. lefttype The type of the operator's left argument; write NONE if the operator has no left argument. righttype The type of the operator's right argument; write NONE if the operator has no right argument. CASCADE Automatically drop objects that depend on the operator. RESTRICT Refuse to drop the operator if there are any dependent objects. This is the default. OUTPUTS DROP OPERATOR The message returned if the command is successful. ERROR: RemoveOperator: binary operator 'oper' taking 'lefttype' and 'righttype' does not exist This message occurs if the specified binary operator does not exist. ERROR: RemoveOperator: left unary operator 'oper' taking 'lefttype' does not exist This message occurs if the left unary operator specified does not exist. ERROR: RemoveOperator: right unary operator 'oper' taking 'righttype' does not exist This message occurs if the right unary operator specified does not exist. DESCRIPTION
DROP OPERATOR drops an existing operator from the database. To execute this command you must be the owner of the operator. The left or right type of a left or right unary operator, respectively, must be specified as NONE. NOTES The DROP OPERATOR statement is a PostgreSQL language extension. Refer to CREATE OPERATOR [create_operator(7)] for information on how to create operators. USAGE
Remove power operator a^n for int4: DROP OPERATOR ^ (int4, int4); Remove left unary negation operator (! b) for boolean: DROP OPERATOR ! (none, bool); Remove right unary factorial operator (i !) for int4: DROP OPERATOR ! (int4, none); COMPATIBILITY
SQL92 There is no DROP OPERATOR in SQL92. SQL - Language Statements 2002-11-22 DROP OPERATOR(7)
Man Page

9 More Discussions You Might Find Interesting

1. Programming

EOF & precedence of !=

Gurus, I am teaching myself C and have a question. I wrote a small prog that reads characters as entered at the prompt and checks the value for EOF. Unless I am 100% wrong, the value will be '1' until getchar() has anything to read in my stream. /* PROG 1 */ #include <stdio.h> ... (4 Replies)
Discussion started by: alan
4 Replies

2. Shell Programming and Scripting

precedence of stderr and stdout

#!/usr/bin/perl open(STDOUT, ">>$Textfile") open(STDERR, ">>$Textfile") print "program running\n"; $final = join("+", $initial,$final) #5 close (STDOUT); close (STDERR);Hi all, above is my perl code. Notice i have captured the stdout and stderr to the same textfile. my code is expected to... (1 Reply)
Discussion started by: new2ss
1 Replies

3. Shell Programming and Scripting

setting precedence with getopts

Hi, I am re-writing a script I wrote which emulated the "rm" command, in my orginal script I had problems with precedence, I did find a way round it by creating a seperate case statements which checked the options and performed the actions accordingly, does anyone know if I can use getopts... (1 Reply)
Discussion started by: jack1981
1 Replies

4. Programming

Makefile -> pc precedence over c

Hi All, I have created a common makefile that compiles both pc and c files. i have created the dependency between the files as .pc.o: ----------- .c.o: ----------- I will be deleting the .c files created from the .pc files, once the object file is created. ( better storage... (7 Replies)
Discussion started by: quintet
7 Replies

5. Shell Programming and Scripting

Precedence in operators issue

Hello, I am trying to write a small acript to change directory to $HOME depending on the user logged in. However when i provide this command say, ABC_USER=myself cd ~${ABC_USER} i am getting the following error, ksh: ~myself: not found I know i am doing something really silly but... (4 Replies)
Discussion started by: arvindspr06
4 Replies

6. UNIX for Dummies Questions & Answers

What should be precedence of using awk, sed, head and tail in UNIX?

Hi All, I am new to unix. In this forum some days back, I have read something like below: 1) Do not use perl if awk can do your work. 2) Do not use awk if sed can do your work. . . . I do not re-collect the whole thing. I think it is good to know the precedence of using these... (2 Replies)
Discussion started by: Prathmesh
2 Replies

7. Programming

Problem with lseek call.

The following code: int fd; if (fd = open("mem", O_RDONLY) == -1) return 1; if (lseek(fd, 0, SEEK_SET) == -1) { char *buf = malloc(512); buf = strerror(errno); printf("%s\n", buf); return 1; } always returns with "illegal seek"... (2 Replies)
Discussion started by: Sir_Tomasz
2 Replies

8. Shell Programming and Scripting

Overwrite bash system command

Hello, The problem I met is the conflict between the default command /usr/bin/sometools, which is an very old version at system setup, and an updated one I have installed in $HOME/download-software/sometools How do I tell a third program to use the customized sometools instead of the default... (6 Replies)
Discussion started by: yifangt
6 Replies

9. Shell Programming and Scripting

Beginner: script headache

Hi, I am new to shell scripting, but doing my best to learn things. Today doing courses there was exercise like this: #!/usr/bin/bash a=$1 b=$2 if ] then echo "Conditions are met" else echo "Conditions are not met" fi I improved it a little, beacuse of curiosity :D to this: ... (8 Replies)
Discussion started by: Rosentine
8 Replies