From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <372549f4a1e93be164e3f5016203c1c3@yyc.orthanc.ca> To: 9fans@9fans.net From: "Lyndon Nerenberg (VE6BBM/VE7TFX)" Date: Fri, 13 Nov 2009 21:43:00 -0700 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] rows to cols? Topicbox-Message-UUID: 9bad9980-ead5-11e9-9d60-3106f5b1d025 > Is there an easy way to transpose the text so that rows become > columns, and vice versa? Delimiter is space. Perhaps in AWK? If Richard's trick won't work, grab contrib/lyndon/transpose.c. It's dog slow (actually, avl(2) is), but its effectively unbounded for the input dataset size. --lyndon P.S. Never underestimate the power of C.