factor.bash 105 B

123456789
  1. #!/bin/bash
  2. counter=1
  3. while [ $counter -lt 100 ]
  4. do
  5. echo $(factor $counter)
  6. let counter+=1
  7. done