Stuck on formatting an output. I want to list 6-99 on the screen, looking something like this:
99 98 97 96 95 94 93 92 91 90
89 88 87 86 85 84 83 82 81 80
and so on down to 6.
So far I am only able to print one value per line.
This is what I have
I have defined x as integer x=99 before the loop
then I have a loop to send the output:
until [[ x -eq 5 ]] ; do
print "$x"
x=x-1
done
I was thinking I may need to add another loop within my first loop, I have been messing around but I am just stumped.