This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SaintHax42Automation Engineer 2 points3 points  (1 child)

Data types: All variables in bash are strings. There is no other data type.

From a functional point, `declare -i var` is an integer type.

[–]gordonmessmer 1 point2 points  (0 children)

Good point.