OT: a problem about text manipulation

Yakov Hrebtov hrebtov at gmail.com
Tue Oct 31 11:18:31 UTC 2006


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




More information about the fedora-list mailing list