I'm using a blackbox CLI based on Bash and I'm not entirely sure what stuff I can use. Brace expansion doesn't work, and with it goes my ability to do loops without listing the arguments explicitly, which is something I was trying to avoid by looping to start with.
for x in {1..5}
do
for y in {a..c}
do
echo $HOME$x$y
done
done
How do I run something like this without brace expansion and without listing the arguments explicitly? Environment variables should also work, that's why I appended a random $HOME
to the example.
Please feel free to provide different alternatives (AWK, sed) as I'm not entirely sure what will and what won't work.
jot
command?