Difference between revisions of "Bash arithmetic integer expansion"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | * https://tldp.org/LDP/abs/html/arithexp.html | ||
+ | <code><nowiki>$(( ))</nowiki></code> arithmetic expansion | ||
− | |||
+ | line 5: 0.1: syntax error: [[invalid arithmetic operator]] ([[error token]] is ".1") | ||
== Related == | == Related == | ||
− | * [[let]] | + | * <code>[[let]]</code> |
* [[Expansion]] | * [[Expansion]] | ||
+ | * [[expr]] | ||
+ | * [[Integer]] | ||
+ | let: not found | ||
+ | * [[Bash brace expansion]] | ||
== See also == | == See also == | ||
+ | * {{Integer}} | ||
* {{Bash}} | * {{Bash}} | ||
+ | |||
+ | [[Category:Bash]] |
Latest revision as of 06:53, 22 January 2024
$(( ))
arithmetic expansion
line 5: 0.1: syntax error: invalid arithmetic operator (error token is ".1")
Related[edit]
let: not found
See also[edit]
- Integer, int, float, double,
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: