I have two variables. $a and $b in a for loop. $a has several lines of values. Example.
$a=
````1
````23
````4
````5
````6
and $b has a single value. Example.
$b=
````x
I want my output as follows
1 x
23 x
4 x
5 x
6 x
set -f;
for i in $a; do echo "$i $b"; done
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments