awk/grep/sed/print......etc
The abc.txt file always 2 lines.
cat abc.txt 21321313 34343dfddf Please help...what’s good command out put like below 1 line. The 2 lines come first then first line. Thanks 34343dfddf 21321313 This code not code not work: Quote:
|
This should work:
Code:
cat abc.txt | tr '\n' ' ' | awk '{print $2,$1}' |
Awesome....Thanks very much.
|
All times are GMT -5. The time now is 05:07 AM. |