Paul Smith wrote:
I am looking for an automatic way of transforming my text file into another one with the format
You may try this:cat ./test.txt | awk '{print $1" "$2; print $1" "$3; print $1" "$4}' | grep -v ' $'
Paul Smith wrote:
I am looking for an automatic way of transforming my text file into another one with the format
You may try this:cat ./test.txt | awk '{print $1" "$2; print $1" "$3; print $1" "$4}' | grep -v ' $'