Re: OT: a problem about text manipulation



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 ' $'

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list