Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
61
Task/Operator-precedence/AWK/operator-precedence.awk
Normal file
61
Task/Operator-precedence/AWK/operator-precedence.awk
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Operators are shown in decreasing order of precedence.
|
||||
# A blank line separates groups of operators with equal precedence.
|
||||
# All operators are left associative except:
|
||||
# . assignment operators
|
||||
# . conditional operator
|
||||
# . exponentiation
|
||||
# which are right associative.
|
||||
#
|
||||
# ( ) grouping
|
||||
#
|
||||
# $ field reference
|
||||
#
|
||||
# ++ increment (both prefix and postfix)
|
||||
# -- decrement (both prefix and postfix)
|
||||
#
|
||||
# ^ exponentiation
|
||||
# ** exponentiation (not all awk's)
|
||||
#
|
||||
# + unary plus
|
||||
# - unary minus
|
||||
# ! logical NOT
|
||||
#
|
||||
# * multiply
|
||||
# / divide
|
||||
# % modulus
|
||||
#
|
||||
# + add
|
||||
# - subtract
|
||||
#
|
||||
# string concatenation has no explicit operator
|
||||
#
|
||||
# < relational: less than
|
||||
# <= relational: less than or equal to
|
||||
# > relational: greater than
|
||||
# >= relational: greater than or equal to
|
||||
# != relational: not equal to
|
||||
# == relational: equal to
|
||||
# > redirection: output to file
|
||||
# >> redirection: append output to file
|
||||
# | redirection: pipe
|
||||
# |& redirection: coprocess (not all awk's)
|
||||
#
|
||||
# ~ regular expression: match
|
||||
# !~ regular expression: negated match
|
||||
#
|
||||
# in array membership
|
||||
#
|
||||
# && logical AND
|
||||
#
|
||||
# || logical OR
|
||||
#
|
||||
# ?: conditional expression
|
||||
#
|
||||
# = assignment
|
||||
# += addition assignment
|
||||
# -= subtraction assignment
|
||||
# *= multiplication assignment
|
||||
# /= division assignment
|
||||
# %= modulo assignment
|
||||
# ^= exponentiation assignment
|
||||
# **= exponentiation assignment (not all awk's)
|
||||
Loading…
Add table
Add a link
Reference in a new issue