Dec 16, 2004 #2 futurelet Programmer Mar 3, 2004 539 US Convert a run of spaces to a tab. [tt] awk '{gsub(/ +/,"\t";print}' in >out [/tt] Upvote 0 Downvote
Dec 16, 2004 Thread starter #3 rtrujill MIS Nov 16, 2004 6 US Will this do it globally throught the file? Upvote 0 Downvote
Dec 16, 2004 #4 futurelet Programmer Mar 3, 2004 539 US Yes. For an introduction to Awk, see faq271-5564. Upvote 0 Downvote
Dec 16, 2004 #5 PHV MIS Nov 8, 2002 53,708 FR man pr Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
man pr Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244