in reply to array does not accept more than one number
(or "^Z", if you're using MS-windows/DOS-Prompt -- cmd.exe or command.exe -- instead of a linux/unix/macosx shell / bash for windows)$ your_script ^D
What happens?
My point is: check what $num is before you use it for division.
|
|---|