I want to produce such file (cartesian product of `[1-3]X[1-5]`):

```
1 1
1 2
1 3
1 4
1 5
2 1
2 2
2 3
2 4
2 5
3 1
3 2
3 3
3 4
3 5

```

I can do this using nested loop like:

```
for i in $(seq 3) 
do
  for j in $(seq 5)
  do
      echo $i $j
  done
done

```

is there any solution without loops?