Added for loop mapping for numerics in bash