[vox-tech] c code question

Bill Broadley bill at cse.ucdavis.edu
Thu Mar 20 14:18:03 PDT 2008


Sorry about the empty message.

I'd suggest rewriting the C so you can do something like:
for i in rows
   for j in columns
   {
	value=function(i,j);
	printf ("%f ",value);
   }
   printf ("\n");

Or if impractical just use columns:
bill at kona:~$ cat test
apple
orange
banana
$2.00
$3.00
$2.50
bill at kona:~$ cat test | columns -c 2 --by-columns
apple                                                                   $2.00
orange                                                                  $3.00
banana                                                                  $2.50


More information about the vox-tech mailing list