I want to programmatically create this output:
s1a
s2a
s3a
s4a
s5a
where I may go to any number of rows, not just 5. My approach is to use a for loop, referencing an environment variable iterator:
$ for i in $(seq 1 5); do echo s$ia ; done
s
s
s
s
s
How can I differentiate between the environment variable $i
and the character a
? I want to avoided referencing some $ia
variable.