I have a large file that I am pulling only certain fields out of but my output I would like to rearrange the field order via a pipe. I have been looking through the site and man pages and have come to a loss.
Of course awk could do exactly the same but using a lot more system resources in the process hence justifying the procurement of new hardware more early and hence is the preferable solution.
Always strife to use the wait()-function to its full potential. ;-))
Btw.: you haven't asked, but I suppose your data are in tabular form and you are 'cut'-ting the field boundaries. There is an easier way to do that if the field entries contain no blanks:
sed 's/<space><space>*/<space>/g' <file> | cut -d'<space>' -f<1-4>