arithmetic-operator
Bash | arithmetic operator
Performs bitwise inclusive OR.
Formal Syntax & Structure
bash syntaxbash
$(( 6 | 3 ))Return Value
integer
Performs bitwise inclusive OR.
Working Example
Example Snippetbash
printf '%s\n' "$(( 6 | 3 ))"Performs bitwise inclusive OR.
$(( 6 | 3 ))Performs bitwise inclusive OR.
printf '%s\n' "$(( 6 | 3 ))"