[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]