2
votes
Zsh i named variable; "bad math expression: operand expected at `/houdi/loo...'"
Your i variable has likely been declared as integer or float by any one of integer i, typeset -i i, float i, typeset -E i or typeset -F i.
Then when you try to assign /houdi/lookup, the shell attempts ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
variable × 1181bash × 612
shell-script × 327
shell × 243
scripting × 80
awk × 71
linux × 64
sed × 64
quoting × 63
variable-substitution × 47
array × 39
function × 39
environment-variables × 38
string × 38
echo × 38
text-processing × 36
zsh × 36
grep × 32
test × 26
for × 25
read × 24
command-line × 23
find × 22
pipe × 21
ksh × 21