I have 10 text files and I want to paste each file with its pair, such that I have 5 total files.
paste
I tried the following:
for i in 4_1 5_
Simplest so far:
for i in "1 a" "2 b" "3 c"; do a=( $i ); echo ${a[1]}; echo ${a[0]}; done a 1 b 2 c 3